10.07.2015 Views

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B 352If you <strong>for</strong>get to install all the dependencies, the first thing Rcmdr will do when run is askif you want them to be installed.Rcmdr is started by loading the package with the command> library(Rcmdr)Figure B.5 Workspace browser <strong>for</strong>Cocoa GUI in Mac OS XThis opens the main window, as in Figure B.6, with a menu bar and a log window. If youare using the Windows GUI, Rcmdr works better in the single-document interface (SDI).The default setting <strong>for</strong> the GUI is to use the multiple-document interface (MDI). To makethe change is done by setting the option <strong>for</strong> SDI, not MDI, using the File: : Options menuitem.Once running, the R session may be interacted with by means of the menu bar and thesubsequent selection of commands.Figure B.6 Main Rcmdr windowIn particular, first the user defines the active data set. This is done either with the Data::Data in Packages…menu item or the Data: : Active Data Set…one. Once a data set isselected, Rcmdr ensures that the variable names become available to the other functions.For example, creating a histogram of a univariate variable in the active data set is donefrom the Graphs: : Histogram…menu (Figure B.7).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!