librarypath: .libpaths2

.libPaths2R Documentation

.libpaths2

Description

A version of .libPaths which allows for excluding the site library

Usage

.libPaths2(fulllp, exclude.site = TRUE)

Arguments

fulllp

The libpath to use, as in .libPaths

exclude.site

logical. Should the site library be suppressed. Defaults to TRUE

Details

Behaves exactly as the .libPaths function does, with the exception of optionally excluding the site library

Value

a vector of library paths currently in use, optionally excluding the site library.


switchr documentation built on March 31, 2023, 5:13 p.m.