Use External R Packages
In this way, if the packages you want to use are not available on Saagie, install them using the following lines of code:
pcks <- c('DBI', 'odbc', 'dplyr', 'dbplyr', 'getPass') # The list of package dependencies. for (pck in pcks[pcks %in% installed.packages()]) install.packages(pck) # To install the package dependencies if required.
This checks if your package is installed, and if not, installs it.