r change library path permanently code example Example: libpath r library("somePackage", lib.loc=.libPaths()[-1])