.find.package
Find Packages

Description

The .find.package function returns the path to the specified packages. The .path.package function is similar but only for packages that are currently loaded. These functions are mostly for use by other functions.

Usage

.find.package(...)
.path.package(...)



Arguments

... any arguments passed to .find.package or path.package.
Value
.find.packagereturns a character vector containing the paths to specified packages (libraries). The packages do not have to be attached. If no package is specified, then the vector contains all packages in the known library and module directories.
.path.packagereturns a character vector containing the paths to specified packages (libraries) for the packages that are attached. If no package is specified, then the vector contains all packages that are attached.
See Also
library, .libPaths, system.file, .packages.
Examples
# list full paths to all attached packages (libraries)
.path.package()

Package base version 6.1.1-7
Package Index