Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Simple Installation

The open source systems we are working with here are regularly updated and improved. At times the instructions here may not work perfectly. We assume here that the cran2deb system is available for your release of Debian or Ubuntu. Currently this is for the Testing release of Debian only but will also often work with the latest release of Ubuntu. See the trouble shooting section below if you have any problems.

  1. Inform Debian/Ubuntu of the cran2deb 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 and distribution (currently only Debian testing is supported though it will also generally work with the latest Ubuntu release), 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()
    

Rattle is based on over 40 other R packages. To avoid loading all 40 packages into R whenever Rattle starts up, the R package for Rattle maintains only a Suggests dependency on these packages, rather than a Depends dependency. Consequently the auto-generated Debian package does not list these dependencies, and hence they do not get automatically installed on Debian/Ubuntu. This is being rectified but for now an additional step is to install these separately:

  1. Download the list of package names:

    $ wget http://rattle.togaware.com/rattle.wajig
    

  2. Install the packages:

    $ wajig installfile rattle.wajig
    

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: Sunday, 22 August 2010