package.version
Listing Loaded/Installed Package Versions List version numbers of loaded or installed packages.
Listing Loaded/Installed Package Versions List version numbers of loaded or installed packages.
- Keywords
- utilities
Usage
package.version(all.available = FALSE, lib.loc = NULL)
Arguments
- all.available
logical, if
TRUE
return all available packages.- lib.loc
character vector describing the location of R library trees to search through, or
NULL
. The default value ofNULL
corresponds to all libraries currently known.
Details
This is a revised version of the base R function
.package
. It gives both package names and their version numbers.
Value
A list with components
- package
names of loaded or available packages if
all.available
isTRUE
.- version
associated package versions.
See Also
Community examples
Looks like there are no examples yet.