pathological (version 0.1-1)

get_libraries: Get the libraries on your machine

Description

Wrapper to .libPaths that gets all the libraries that R knows about on your machine.

Usage

get_libraries(index = TRUE, sep = c("/", "\\"))

Arguments

index
A numeric or logical vector specifying the index of the libraries to return. By default, all libraries are returned.
sep
String separator between directory levels in the output.

Value

A character vector of paths to libraries.

References

http://cran.r-project.org/doc/FAQ/R-FAQ.html#What-is-the-difference-between-package-and-library_003f

See Also

.libPaths

Examples

Run this code
get_libraries()
get_libraries(1)

Run the code above in your browser using DataLab