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