R-Project

Installation

The R-project offers several installation possibilities for Ubuntu.

Unfortunately, the packages available for Maverick are over a year old : R version 2.11.1 (2010-05-31)

My chosen alternative was to download the current version from http://www.r-project.org/ having chosen a nearby mirror from http://cran.r-roject.org/mirrors.html. I then did not choose the Download R for Linux from the Download and Install R box, but the download source code for all platforms Current release from the second box.

The next step is to build and install it. The instructions for this are not placed where they are obviously easy to find. I found them by following the “Manuals” link on the home page, then the link to either html or pdf for “R Installation and Administration.” Briefly, the build is classic:

  1. untar the archive somewhere, like /usr/local/src
  2. ./configure : to prepare the make configuration. In my case, I had to install a Fortran compiler before building.
  3. make
  4. make check
  5. various other makes, for the documentation and installation of a symlink. 1)

Updates

1) more on the installation of the symlink when I figure out how to fix mine; I already had one from the apt-get installation and it still works, launching 2.11 by default.