R-packages: Difference between revisions
Jump to navigation
Jump to search
(Created page with " == R-packages - A central location for external R packages. == The path for dicrectory is ''''''/share/apps/ngs-ccts/R_packages/'''''' Example for installing a package nam...") |
(No difference)
|
Latest revision as of 19:17, 14 January 2013
R-packages - A central location for external R packages.
The path for dicrectory is '/share/apps/ngs-ccts/R_packages/'
Example for installing a package named "HMP"
module load R/R-2.15.0 # load an appropriate R module export R_LIBS=/share/apps/ngs-ccts/R_packages/ #export a environment variable which have the path for R library R #launch R install.packages("HMP") #to install library HMP library("HMP") #to load library HMP
Example for using a library HMP (if already installed)
module load R/R-2.15.0 # load an appropriate R module export R_LIBS=/share/apps/ngs-ccts/R_packages/ #export a environment variable which have the path for R library Inside R library("HMP") #to load library HMP