Difference between revisions of "R"

From HPC
Line 15: Line 15:
 
== Installation of R and necessary packages ==
 
== Installation of R and necessary packages ==
  
[[ Install R]]
+
[[Install R]]
 +
 
 +
[[Install packages]]
  
 
[[Install Rmpi package]]
 
[[Install Rmpi package]]

Revision as of 13:18, 26 November 2010

This is work in progress.

General remarks

It is necessary to install R locally in your home directory. This puts you in control of the version installed, the packages installed and you can tweak the installation according to your needs. Consequently, before we can use R, we have to do the following:

- Install R [1] (download from [2]) and the relevant packages;

- Write the code to be executed on the cluster;

- Write the submit script to be submitted via qsub;

Below each of these steps is documented in detail.

Installation of R and necessary packages

Install R

Install packages

Install Rmpi package

Submit script

Example


--rkrug 07:22, 19 December 2008 (UTC)