Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Basic Command Line

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.

Figure 27.1: The R interface under MS/Windows, with the default MDI display.

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

You are given the option to save all of the currently defined objects (the workspace image), which will automatically be reloaded next time you start R from this same location (directory). If you choose to do so R will save the workspace image to a file called .RData.

Copyright © 2004-2010 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
The PDF version is a formatted comprehensive draft book (with over 800 pages).
Brought to you by Togaware. This page generated: Sunday, 22 August 2010