R package installation references
This section collects MSI Help Desk reference notes for R packages that have needed package-specific installation steps.
General guidance
Run package installs in an interactive compute session when possible.
Match
options(Ncpus = ...)to the number of tasks allocated to your session to speed up package builds.Load any required system modules both when installing the package and when using it later.
For packages that take several minutes to compile, a Persistent Desktop session can also work well.
Example interactive session:
srun -N 1 -n 10 --mem 10G -t 20 -p msismall --pty bash
Example R session setup:
R
options(Ncpus = 10)