...
- first load the R environment module
- Helium
- module load r302
Neonmodule load R/3.02 - launch R
R - then install the package, using generic package_name here
install.packages("package_name", repos="http://cran.r-project.org") - Assuming that you do not have a personal library directory you will see
Warning in install.packages("package_name", repos = "http://cran.r-project.org") :
'lib = "/opt/R/3.0.2/lib64/R/library"' is not writable
Would you like to use a personal library instead? (y/n) - Select 'y'
- Select 'y' again when prompted to create the directory
- your package should download and install into your personal library directory