The<i>R</i>Commander: A Basic-Statistics Graphical User Interface to<i>R</i>

John Fox John Fox
2005 Journal of Statistical Software 977 citations

Abstract

Unlike S-PLUS, R does not incorporate a statistical graphical user interface (GUI), but it does include tools for building GUIs. Based on the tcltk package (which furnishes an interface to the Tcl/Tk GUI toolkit), the Rcmdr package provides a basic-statistics graphical user interface to R called the "R Commander." The design objectives of the R Commander were as follows: to support, through an easy-to-use, extensible, cross-platform GUI, the statistical functionality required for a basic-statistics course (though its current functionality has grown to include support for linear and generalized-linear models, and other more advanced features); to make it relatively difficult to do unreasonable things; and to render visible the relationship between choices made in the GUI and the R commands that they generate. The R Commander uses a simple and familiar menu/dialog-box interface. Top-level menus include File, Edit, Data, Statistics, Graphs, Models, Distributions, Tools, and Help, with the complete menu tree given in the paper. Each dialog box includes a Help button, which leads to a relevant help page. Menu and dialog-box selections generate R commands, which are recorded in a script window and are echoed, along with output, to an output window. The script window also provides the ability to edit, enter, and re-execute commands. Error messages, warnings, and some other information appear in a separate messages window. Data sets in the R Commander are simply R data frames, and can be read from attached packages or imported from files. Although several data frames may reside in memory, only one is "active" at any given time. There may also be an active statistical model (e.g., an R lm or glm ob ject). The purpose of this paper is to introduce and describe the use of the R Commander GUI; to describe the design and development of the R Commander; and to explain how the R Commander GUI can be extended. The second part of the paper (following a brief introduction) can serve as an introductory guide for students who will use the R Commander.

Keywords

Graphical user interfaceComputer scienceGraphical user interface testingInterface (matter)User interfaceGraphical modelProgramming languageHuman–computer interactionOperating systemUser interface designArtificial intelligence

Related Publications

Publication Info

Year
2005
Type
article
Volume
14
Issue
9
Citations
977
Access
Closed

External Links

Social Impact

Social media, news, blog, policy document mentions

Citation Metrics

977
OpenAlex

Cite This

John Fox (2005). The<i>R</i>Commander: A Basic-Statistics Graphical User Interface to<i>R</i>. Journal of Statistical Software , 14 (9) . https://doi.org/10.18637/jss.v014.i09

Identifiers

DOI
10.18637/jss.v014.i09