pkgDesc {svTools} | R Documentation |
Get installed or loaded packages, or their description
Description
This is similar to installed.packages()
but with two additional columns
indicating if the package is loaded and default. Description of packages can
be retrieved from the local library, or from the Web (default repository).
Usage
pkgLoaded()
pkgInstalled(pattern = NULL, ...)
pkgDesc(pkg, lib.loc = NULL, fields = NULL, encoding = "")
pkgWebDesc(pkg, repos = getOption("repos"))
Arguments
pattern |
filter on the name or the title of the packages. |
... |
arguments for |
pkg |
character. The name of a R package. |
lib.loc |
the local library where the package is localted, or
|
fields |
which fields do we retrieve. If |
encoding |
the encoding to use, or |
repos |
the repository where to look for the package description. |
Value
A matrix similar to the result of installed.packages
with two additional columns for pkgInstalled()
. A character string
for pkgLoaded()
, pkgDesc()
and pgkWebDesc()
.
Author(s)
Romain Francois <francoisromain@free.fr>
See Also
Examples
pkgLoaded()
pkgInstalled()
pkgDesc("utils")
## Not run:
pkgWebDesc("svTools")
## End(Not run)