Add Library Path
add_lib_path(path, after, version = FALSE)
Directory that will added as location for which packages
are searched. Recursively creates the directory if it doesn't exist. On
Databricks remember to use /dbfs/
or /Volumes/...
as a prefix.
Location at which to append the path
value after.
If TRUE
will add the R version string to the end
of path
. This is recommended if using different R versions and sharing a
common path
between users.
This functions primary use is when using Databricks notebooks or hosted RStudio, however, it works anywhere.
base::.libPaths()
, remove_lib_path()