Learn R Programming

icesTAF (version 3.6.0)

taf.libPaths: Add TAF Library Path

Description

Add TAF library to the search path for R packages.

Usage

taf.libPaths(remove = FALSE)

Value

The resulting vector of file paths.

Arguments

remove

whether to remove TAF library from the search path, instead of adding it.

Warning

An unwanted side effect of having the TAF library as the first element in the search path is that install.packages will then install packages inside bootstrap/library. This is not a serious side effect, since a subsequent call to taf.bootstrap or clean.library will remove packages from the TAF library that are not declared in the SOFTWARE.bib file.

See Also

.libPaths is the underlying function to modify the search path for R packages.

taf.library loads a package from bootstrap/library.

icesTAF-package gives an overview of the package.

Examples

Run this code
# \donttest{
taf.libPaths()
taf.libPaths(remove=TRUE)
# }

Run the code above in your browser using DataLab