taf.libPaths {TAF} | R Documentation |
Add TAF Library Path
Description
Add TAF library to the search path for R packages.
Usage
taf.libPaths(remove = FALSE)
Arguments
remove |
whether to remove TAF library from the search path, instead of adding it. |
Value
The resulting vector of file paths.
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
boot/library
. This is not a serious side effect, since a subsequent
call to taf.boot
or clean.library
will remove packages from
the TAF library that are not declared in the ‘SOFTWARE.bib’ file.
Note
Specifically, this function sets "boot/library"
as the first element
of .libPaths()
. This is rarely beneficial in TAF scripts, but can be
useful when using the sessioninfo package, for example.
See Also
.libPaths
is the underlying function to modify the search path
for R packages.
taf.library
loads a package from boot/library
.
TAF-package
gives an overview of the package.
Examples
taf.libPaths()
taf.libPaths(remove=TRUE)