How to install a specific version of R

R is installed by default, on the submit hosts and on the nodes, so usually it is unnecessary (and even slightly undesirable) to install your own version. However, to illustrate the procedure of installing your own software, here goes:

Get the source

First, download the software source. On your favorite CRAN mirror, download the file that says "latest release" under the heading "Source Code for all Platforms". Copy the downloaded .tar.gz file to somewhere on one of the HPC submit hosts (hpcs01 or hpcs02). In your homedirectory is usually fine, but /tmp might be a good place as well. I'll assume /tmp:

scp R-3.0.1.tar.gz


Login to the submit host and unpack the file:


cd /tmp

tar -zxvf R-3.0.1.tar.gz




Make install

-- MartinMarinus - 31 May 2013

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2013-05-31 - MartinMarinus
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback