Getting Started With the R Commander
John Fox, Milan Bouchet-Valat · 2006
Once R is running, simply loading the Rcmdr package by typing the command library(Rcmdr) into the R Console starts the R Commander graphical user interface (“GUI”). To function properly under Windows, the R Commander requires the single-document interface (SDI) to R. 1 After loading the package, RConsole and RCommanderwindows should appear more or less as in Figures 1 and 2. These and other screen images in this document were created under Windows XP; if you use another version of Windows (or, of course, another computing platform), then the appearance of the screen may differ. 2 The R Commander and RConsolewindows float freely on the desktop. You will normally use the menus and dialog boxes of the R Commander to read, manipulate, and analyze data. • R commands generated by the R Commander GUI appear in the upper text window (labelled Script Window) within the main RCommanderwindow. You can also type R commands directly into the script window or at the> (greater-than) prompt in the RConsole; the main purpose of the R Commander, however, is to avoid having to type commands. • Printed output appears by default in the second text window (labelled Output Window). • The lower, gray window (labelled Messages) displays error messages, warnings, and some other information (“notes”), such as the start-up message in Figure 2. • When you create graphs, these will appear in a separate Graphics Device window. This manual is adapted and updated from Fox (2005). Please address correspondence to [email protected].