installed.packages {utils} | R Documentation |
Find Installed Packages
Description
Find details of all packages installed in the specified libraries.
Usage
installed.packages(lib.loc = NULL, priority = NULL)
Arguments
lib.loc |
character vector describing the location of R library trees to search through. |
priority |
character vector or |
Details
installed.packages
scans the ‘DESCRIPTION’ files of each
package found along lib.loc
and returns a matrix of package
names, library paths and version numbers.
Value
A matrix with one row per package, row names the package names and
column names "Package"
, "LibPath"
, "Version"
,
"Priority"
, "Bundle"
, "Depends"
and "Suggests"
.
See Also
update.packages
Examples
str(ip <- installed.packages(priority = "high"))
ip[, c(1,3:5)]