Error in .libpaths() : could not find function ".libpaths" code example Example: libpath r library("somePackage", lib.loc=.libPaths()[-1])