Desktop Survival Guide
by Graham Williams

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 testing/
    deb 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

  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