Using lmod/modules with RStudio

Using the approach highlighted in Using linux Lmod with R and RStudio - #8 by michaelmayer you also can dynamically load modules in an running R session...