Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google


Install GNU/Linux

Debian GNU/Linux is the the premier GNU/Linux distribution. Ubuntu, based on Debian, is the premier supported distribution, and is highly recommended. Ubuntu is easy to install from CD and will be up and running within an hour (see http://ubuntu.com). GNU/Linux can also be installed through virtualisation on a MS/Windows desktop using something like VirtualBox.

R and its associated packages (some 2000 of them) are available from CRAN. They have been packaged for Debian (and thus Ubuntu) by Dirk Eddelbuettel. This ensures a trouble free installation, once Debian or Ubuntu is installed.

The Debian (and thus Ubuntu) Rattle package comes from an R specific package archive which we need to identify to our Debian package manager.

  1. Inform Debian/Ubuntu of the CRAN archive by editing, as the administrator, the file /etc/apt/sources.list:

    $ sudo gedit /etc/apt/sources.list
    

    Add one of the following lines, depending on your computer architecture, to this file (it could be added near the top):

    deb http://debian.cran.r-project.org/cran2deb/debian-i386 testing/
    deb http://debian.cran.r-project.org/cran2deb/debian-amd64 testing/
    

    Update the package information:

    $ wajig update
    

  2. Install Rattle:

    $ wajig install r-cran-rattle
    

  3. Start up Rattle by starting up a Terminal:

    $ R
    > library(rattle)
    > rattle()
    

Copyright © 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: Thursday, 07 January 2010