Books  Ecological & Biological Sciences  Data Analysis & Modelling  Computing for the Natural Sciences 

Programming Graphical User Interfaces in R

Handbook / Manual
  • Provides a how-to guide for developing GUIs within R
  • Presents the fundamentals for users with limited knowledge of programming within R and other languages
  • Enables R programmers and users to design their own GUIs for specific functions or as learning tools
  • Offers a package in CRAN that contains all of the code and additional examples

Series: Chapman & Hall/CRC The R Series

By: Michael F Lawrence(Author), John Verzani(Author)

463 pages, 94 b/w illustrations, 13 tables

Chapman & Hall (CRC Press)

Hardback | Jul 2012 | #213295 | ISBN-13: 9781439856826
Availability: Usually dispatched within 6 days Details
NHBS Price: £51.99 $66/€58 approx

About this book

Programming Graphical User Interfaces with R introduces each of the major R packages for GUI programming: RGtk2, qtbase, Tcl/Tk, and gWidgets. With examples woven through the text as well as stand-alone demonstrations of simple yet reasonably complete applications, the book features topics especially relevant to statisticians who aim to provide a practical interface to functionality implemented in R.

Programming Graphical User Interfaces in R offers:
- A how-to guide for developing GUIs within R
- The fundamentals for users with limited knowledge of programming within R and other languages
- GUI design for specific functions or as learning tools

The accompanying package, ProgGUIinR, includes the complete code for all examples as well as functions for browsing the examples from the respective chapters. Accessible to seasoned, novice, and occasional R users, Programming Graphical User Interfaces in R shows that for many purposes, adding a graphical interface to one's work is not terribly sophisticated or time consuming.


The Fundamentals of Graphical User Interfaces
A simple GUI in R
GUI design principles

I The gWidgets Package
gWidgets: Overview

Event handlers

gWidgets: Container Widgets
Top-level windows
Box containers
Grid layout: the glayout container
Paned containers: the gpanedgroup container
Tabbed notebooks: the gnotebook container

gWidgets: Control Widgets
Text-editing controls
Selection controls
Display of tabular data
Display of hierarchical data
Actions, menus, and toolbars

gWidgets: R-specific Widgets
A graphics device
A data frame editor
Workspace browser
Help browser
Command line widget
Simplifying creation of dialogs

II The RGtkPackage
RGtk2: Overview

Synopsis of the RGtk2R Package!RGtkAPI
Objects and classes
Events and signals
Enumerated types and flags
The event loop
Importing a GUI from Glade

RGtk2: Windows, Containers, and Dialogs
Top-level windows
Layout containers
Special-purpose containers

RGtk2: Basic Components
Static text and images
Input controls
Progress reporting
Embedding R graphics

RGtk2: Widgets Using Data Models
Displaying tabular data
Displaying hierarchical data
Model-based combo boxes
Text-entry widgets with completion
Sharing buffers between text entries
Text views
Text buffers

RGtk2: Application Windows
Status reporting
Managing a complex user interface

Extending GObject Classes

III The qtbase Package
Qt: Overview

The Qt library
An introductory example
Classes and objects
Methods and dispatch
Enumerations and flags
Extending Qt classes from R
QWidget basics
Importing a GUI from QtDesigner

Qt: Layout Managers and Containers
Layout basics
Box layouts
Grid layouts
Form layouts
Scroll areas
Paned windows

Qt: Widgets
Radio groups
Combo boxes
Sliders and spin boxes
Single-line text
QWebView widget
Embedding R graphics

Qt: Widgets Using Data Models
Displaying tabular data
Displaying lists
Model-based combo boxes
Accessing item models
Item selection
Sorting and filtering
Decorating items
Displaying hierarchical data
User editing of data models
Drag-and-drop in item views
Widgets with internal models
Implementing custom models
Implementing custom views
Viewing and editing text documents

Qt: Application Windows
Menu bars
Context menus
Status bars
Dockable widgets

IV The tcltk Package
Tcl/Tk: Overview

A first example
Interacting with Tcl
Events and callbacks

Tcl/Tk: Layout and Containers
Top-level windows
Geometry managers
Other containers

Tcl/Tk: Dialogs and Widgets
Selection widgets

Tcl/Tk: Text, Tree, and Canvas Widgets
Scroll bars
Multiline text widgets
Treeview widget
Canvas widget

Concept index
Class and method index

Write a review

There are currently no reviews for this book. Be the first to review this book!

Bestsellers in this subject

Computing for Biologists

NHBS Price: £35.99 $46/€40 approx

A Survivor's Guide to R

NHBS Price: £32.99 $42/€37 approx

Machine Learning Methods in the Environmental Sciences

NHBS Price: £29.99 $38/€33 approx

SQL Pocket Guide

NHBS Price: £9.50 $12/€11 approx

Learning SQL

NHBS Price: £26.50 $34/€30 approx

VAT: GB 407 4846 44
NHBS Ltd is registered in England and Wales: 1875194