Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • language extensions for parallel processing
  • optimised parallel libraries and packages
  • multicore, cluster and GPGPU libraries
  • interfaces to other programming languages

Warning these pages were written for our old cluster YARCC.  The course content is still useful and the majority of the principles can be used on Viking.  We are in the process of updating the job scripts for use on Viking.

Using the R language module on

...

Viking

To access the default version of R on YARCCViking, simply type the command module add R. R can now be invoked in your session by simply typing R. Current releases of R can be viewed with the command: 


Code Block
languagebash
titleAccess the R laguage
abs4@ecgberht$ module avail R
----------------------- /opt/yarcc/Modules/applications ------------------------
R/2.15.3 R/3.1.0  R/3.1.2
abs4@ecgberht$ module load R/3.1.0 
abs4@ecgberht$ module list
Currently Loaded Modulefiles:
  1) sge/8.1.6              3) ics/2013_sp1.2.144
  2) CEM_Solutions/2014.2   4) R/3.1.0
abs4@ecgberht$ 

Installing R packages

To install a R package not as an administrator, type in the following: 

> install.packages("package_name")

Please ignore all warnings, the modules will be installed locally at:

$HOME/R/x86_64-unknown-linux-gnu-library/3.1

If you would like a package to be installed for all users, please contact IT Services.

...