Making R Load libraries at startup

There are sometimes things that I want to do, and have to spend a while figuring out. So I am going to store that knowledge on here.

Loading R libraries at start… (works in Opensuse linux)

Easy, create a file in /usr/lib64/R/etc called ‘’. Put in that file the libraries you want to load.


When you load R those libraries with be loaded.

Right, next time I reinstall my system I will know where to look if I have forgotten…

Author: phil

Complex Systems Scientist.