Control R environment using modules: Difference between revisions
Jump to navigation
Jump to search
(Created page with " /cm/shared/apps/WUR/ABGC/R/R_libraries/3.0.2/ mkdir /cm/shared/apps/WUR/ABGC/modulefiles/R/ cp /cm/shared/modulefiles/R/3.0.2 /cm/shared/apps/WUR/ABGC/modulefiles/R/3.0.2_wur ...") |
No edit summary |
||
Line 1: | Line 1: | ||
<source lang='bash'> | |||
/cm/shared/apps/WUR/ABGC/R/R_libraries/3.0.2/ | /cm/shared/apps/WUR/ABGC/R/R_libraries/3.0.2/ | ||
</source> | |||
<source lang='bash'> | |||
mkdir /cm/shared/apps/WUR/ABGC/modulefiles/R/ | mkdir /cm/shared/apps/WUR/ABGC/modulefiles/R/ | ||
</source> | |||
<source lang='bash'> | |||
cp /cm/shared/modulefiles/R/3.0.2 /cm/shared/apps/WUR/ABGC/modulefiles/R/3.0.2_wur | cp /cm/shared/modulefiles/R/3.0.2 /cm/shared/apps/WUR/ABGC/modulefiles/R/3.0.2_wur | ||
</source> | |||
<source lang='tcl'> | <source lang='tcl'> | ||
#%Module1.0####################################################################### | #%Module1.0####################################################################### | ||
## R3 modulefile | ## R3 modulefile |
Revision as of 23:42, 29 November 2013
<source lang='bash'> /cm/shared/apps/WUR/ABGC/R/R_libraries/3.0.2/ </source>
<source lang='bash'> mkdir /cm/shared/apps/WUR/ABGC/modulefiles/R/ </source>
<source lang='bash'> cp /cm/shared/modulefiles/R/3.0.2 /cm/shared/apps/WUR/ABGC/modulefiles/R/3.0.2_wur </source>
<source lang='tcl'>
- %Module1.0#######################################################################
- R3 modulefile
proc ModulesHelp { } {
puts stderr "\tAdds R v3.0.2 to your environment"
}
module-whatis "Adds R v3.0.2 to your environment"
set r3_root /cm/shared/apps/R3/ set r3_wur_root /cm/shared/apps/WUR/ABGC/R/R_libraries/3.0.2/
prepend-path PATH $r3_root/bin prepend-path MANPATH $r3_root/share/man prepend-path LD_LIBRARY_PATH $r3_root/lib64 prepend-path R_LIBS_SITE $r3_wur_root </source>