Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google


Install MS/Windows

The installation on MS/Windows is a little more involved than that for GNU/Linux. We download various self installing packages and then within R itself we download and install the required R packages.

For MS/Windows (XP or Vista or 7) on a machine directly connected to the Internet:

  1. Download and install GTK+ (2.12.9 is 7.03MB) from:
    http://downloads.sourceforge.net/gladewin32/gtk-2.12.9-win32-2.exe

  2. Download and install GGobi (2.1.8 is 807KB) from:
    http://www.ggobi.org/downloads/ggobi-2.1.8.exe

  3. Download and install R (2.10.1 is 30.9MB) from:
    http://cran.r-project.org/bin/windows/base/R-2.10.1-win32.exe
    Choosing all the defaults on the install works just fine.

  4. Install the XML package (no longer directly available for R). Download the XML zip file (2.6.0 is 2.12MB) from:
    http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.10/XML_2.6-0.zip
    and save to disk. Then startup R and from the Packages menu, choose the option to Install package(s) from local zip files... and browse to the XML zip file we just downloaded. You may be asked whether you would like to create a personal library. You can choose to do so. If this results in an error, exit R (but do not save the workspace image when asked) and repeat--this seems to fix the problem!

  5. Install Rattle by opening the R Desktop icon and:

    > install.packages("rattle", dependencies=c("Depends", "Suggests"))
    

    R asks us to nominate a CRAN mirror. Choose a nearby location. Quite a few R packages will now be downloaded and installed. This might take 10 minutes or more, depending on the connection to the Internet.

  6. Start Rattle by opening the R Desktop icon and:

    > library(rattle)
    > rattle()
    

  7. Optional: You may like to install Emacs Speaks S, a comprehensive environment for writing R code on MS/Windows. Download and install the latest version available (39.9MB) from:
    http://vgoulet.act.ulaval.ca/en/ressources/emacs/windows.

  8. Alternative Option: You may like to install Tinn-R - a more traditional GUI based IDE for R (3.94MB) from:
    http://sourceforge.net/projects/tinn-r

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, 07 February 2010