DATA MINING
Desktop Survival Guide by Graham Williams |
|||||
R is essentially a command line tool that is usually initiated by running the command R in a command line window (e.g., a gnome-terminal) on your system. When R is ready to accept your instructions it will issue the > prompt, and then wait for your input. Figure shows that a user has invoked the nrow function with argument iris to find the number of rows in the iris dataset. R has responded with an answer of 150
The basic MS/Windows command line GUI provides a menu-based system to access some of the meta-functionality of R, such as to load and install packages. By default it uses a multiple document interface (MDI) so that all R windows open up in a single Rgui frame. To use a Single Document Interface (SDI) choose the appropriate option under Single or multiple windows, which you can find under the GUI preferences of the Edit menu. Then save the configuration in the default Rconsole file, and restart R.
|
To interrupt a running R command simply type Ctrl-C
. To exit
from R use the q function:
> q() Save workspace image? [y/n/c]: n |
.RData
.
Copyright © 2004-2006 [email protected] Support further development through the purchase of the PDF version of the book.