R

Most MCSR systems have a system R installed that may be suitable for some purposes. However, serious users will want to load one of the R modules available. The most recent version of R can always be loaded by running:
module load R

Installing R modules

Users can always request that R modules be installed by MCSR staff. This is usually the best option if a group of users will be using the same module. However, users can always install modules by themselves in their home directory.

To install a library in your home directory, first ensure that you have the appropriate R module loaded. Then, run the following command from inside R:
install.packages("package_name")
where package_name is the name of the package you’d like to install. R will note that you do not have permission to write to the global R library and ask if you’d like to create an R directory in your home directory. It will then install the package and any dependencies.