.libPaths {backports} | R Documentation |
See the original description in base::.libPaths
.
.libPaths(new, include.site = TRUE)
save <- .libPaths()
save
# ignore the site library
.libPaths("test", include.site = FALSE)
# restore the original
.libPaths(save)