DATA MINING
Desktop Survival Guide by Graham Williams |
|||||
Troubleshooting |
The cran2deb archive used in the install instructions specifically only supports the Debian GNU/Linux Testing release. This will be similar to the latest Ubuntu release, but is continually updated whilst the Ubuntu release remains stable for 6 months. Thus at times the packages in the cran2deb archive will be incompatible with Ubuntu.
An alternative install compiles each of the required packages through R itself, rather than using the operating system provided pre-compiled packages. This takes more time, but is still a straightforward process. Some mixture of the following hints may help. John Nash's instructions give more specific details.
$ sudo gedit /etc/apt/sources.list |
deb http://cran.r-project.org/bin/linux/debian/ lenny-cran/ deb http://cran.r-project.org/bin/linux/debian/ etch-cran/ deb http://cran.r-project.org/bin/linux/ubuntu karmic/ deb http://cran.r-project.org/bin/linux/ubuntu jaunty/ deb http://cran.r-project.org/bin/linux/ubuntu intrepid/ deb http://cran.r-project.org/bin/linux/ubuntu hardy/ |
$ wajig update |
$ wajig install r-base r-base-dev libglade2-dev r-cran-rgtk2 |
$ sudo R |
> install.packages("rattle") |
> install.packages("RGtk2") > install.packages("colorspace") > install.packages("cairoDevice") > install.packages("pmml") > install.packages("rattle") |
> library(rattle) > rattle() |
Copyright © Togaware Pty Ltd Support further development through the purchase of the PDF version of the book.