View on GitHub

gssi-training

VSC training: Getting Scientific Software Installed

Installing R packages

This exercise aims to give you hands-on experience with installing R packages and contrasting some different approaches. It should take approximately 30 minutes to an hour to complete (potentially more when also conducting the benchmark exercises). To get started, choose an R package that has at least one non-trivial dependency and ideally includes some compiled code (written in C, C++ or Fortran). It is recommended to choose an R package related to your area of research, but if you are really lacking inspiration, you can complete this exercise using the dplyr package.

You can find the relevant documentation in the “R and Julia” section of the GSSI training material and in the R package management section in the VSC Docs.

Here are the different methods you can use to install R packages on a VSC cluster:

NOTE: Make sure to keep the different installations separated, mixing approaches will likely cause problems.

After trying the different installation approaches, compare them with respect to the following characteristics: