Users should install R packages for themselves locally. This documentation shows you how to install R packages locally (without root access) on Oscar.
If the package you want to install has operating-system-level dependencies (i.e. the package depends on core libraries), then we can install it as a module.
Installing an R package
First load the R version that you want to use the package with:
moduleloadr/4.5.1
Start an R session
R
Note some packages will require code to be compiled so it is best to do R packages installs on the login node.
** R
** data
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (wordcloud)
Warning message:
In install.packages("wordcloud", repos = "http://cran.r-project.org") :
installation of package ‘wordcloud’ had non-zero exit status