libPaths: Backport of .libPaths for R < 4.1.0

.libPathsR Documentation

Backport of .libPaths for R < 4.1.0

Description

See the original description in base::.libPaths.

Usage

.libPaths(new, include.site = TRUE)

Examples

save <- .libPaths()
save
# ignore the site library
.libPaths("test", include.site = FALSE)

# restore the original
.libPaths(save)

backports documentation built on April 3, 2026, 9:07 a.m.