installed.packages {utils} | R Documentation |
Find (or retrieve) details of all packages installed in the specified libraries.
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.
The information found Is cached (by library) For the R session And specified fields argument,
And updated only If the top-level library directory has been altered,
For example by installing Or removing a package. If the cached information becomes confused,
it can be refreshed by running installed.packages(noCache = True)
.
installed.packages(
groupBy = "none|LibPath|Author|Category");