Current Volume | Browse | Search | RSSHome | Instructions for Authors | JSS Style Guide | Editorial Board

Authors: Michael Lawrence, Duncan Temple Lang
Title: [download]
(11046)
RGtk2: A Graphical User Interface Toolkit for R
Reference: Vol. 37, Issue 8, Dec 2010
Submitted 2009-01-30, Accepted 2009-09-23
Type: Article
Abstract:

Graphical user interfaces (GUIs) are growing in popularity as a complement or alternative to the traditional command line interfaces to R. RGtk2 is an R package for creating GUIs in R. The package provides programmatic access to GTK+ 2.0, an open-source GUI toolkit written in C. To construct a GUI, the R programmer calls RGtk2 functions that map to functions in the underlying GTK+ library. This paper introduces the basic concepts underlying GTK+ and explains how to use RGtk2 to construct GUIs from R. The tutorial is based on simple and pratical programming examples. We also provide more complex examples illustrating the advanced features of the package. The design of the RGtk2 API and the low-level interface from R to GTK+ are discussed at length. We compare RGtk2 to alternative GUI toolkits for R.

Paper: [download]
(11046)
RGtk2: A Graphical User Interface Toolkit for R
(application/pdf, 1 MB)
Supplements: [download]
(341)
RGtk2_2.20.4.tar.gz: R source package
(application/x-gzip, 2.5 MB)
[download]
(426)
v37i08.R: R example code from the paper
(application/octet-stream, 12.1 KB)
Resources: BibTeX | OAI
Creative Commons License
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: Commons GNU General Public License License
Current Volume | Browse | Search | RSSHome | Instructions for Authors | JSS Style Guide | Editorial Board