No additional library is necessary.
apt-get
at www.probability.ca. In addition, you need to add the authentification key to make sure that apt-get
will stay happy:% sudo su % echo "deb http://www.probability.ca/cran/bin/linux/ubuntu lucid/" >> /etc/apt/sources.list // // You also need to uncomment this line in /etc/apt/sources.list: // deb http://ca.archive.ubuntu.com/ hardy-backports main restricted universe // % gpg --keyserver subkeys.pgp.net --recv-key E2A11821 % gpg -a --export E2A11821 | sudo apt-key add - % exit
apt-get
to update the source list and install R:% sudo apt-get update % sudo apt-get install r-base r-base-dev
There are many GUI for R but the one I chose is JGR. To install JGR, simply follow this recipe:
% sudo R javareconf
% sudo R // We are in the R console at system-level > install.packages('JGR') // R will ask for a mirror selection // Install will proceed simply enough. Give it a try: > library(JGR) > JGR() // You should see a R console popping onto your dekstop // with buttons, menus and everything else
% sudo ln -s /usr/local/lib/R/site-library/JGR/scripts/run /usr/local/bin/runRGui
% runRGui