Versions Compared

Key

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

...

  1. first load the R environment module
  2. Helium
    1. module load r302
  3. Neonmodule load R/3.02
  4. launch R
    R
  5. then install the package, using generic package_name here
    install.packages("package_name", repos="http://cran.r-project.org")
  6. 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)
  7. Select 'y'
  8. Select 'y' again when prompted to create the directory
  9. your package should download and install into your personal library directory