Install R and Rattle in Ubuntu 12.04 Precise

Install R

deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu precise/
$ sudo apt-get update
$ sudo apt-get install r-base

If key is required, then

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9

Install the GTK development packages so that R can compile the required packages

$ sudo apt-get install wajig
$ wajig install libgtk2.0-dev libxml2-dev

Install Rattle (R Analytical Tool To Learn Easily)
Startup R and then

 > install.packages("rattle")
 > library("rattle")
 > rattle()

Install the extra packages (yes to all)

Done 🙂

Leave a comment