Learn R Programming

icesTAF (version 2.3-0)

taf.library: Enable TAF Library

Description

Add local TAF library bootstrap/library to the search path, where packages are stored.

Usage

taf.library(create = TRUE, quiet = FALSE)

Arguments

create

whether to create the directory bootstrap/library if it does not already exist.

quiet

whether to suppress messages in the case when a new directory bootstrap/library is created.

Value

The names of packages currently installed in the TAF library.

See Also

.libPaths is the underlying base function to get/set the library search path.

icesTAF-package gives an overview of the package.

Examples

Run this code
# NOT RUN {
# Enable TAF library
taf.library()

# Show updated path
.libPaths()

# Show packages in TAF library
print(taf.library())

# Load packages
library(this)
library(that)

# BibTeX references
library(bibtex)
write.bib(taf.library())
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab