Learn R Programming

spatialkernel (version 0.4-23)

package.version: Listing Loaded/Installed Package Versions List version numbers of loaded or installed packages.

Description

Listing Loaded/Installed Package Versions List version numbers of loaded or installed packages.

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 of NULL corresponds to all libraries currently known.

Value

A list with components

package

names of loaded or available packages if all.available is TRUE.

version

associated package versions.

Details

This is a revised version of the base R function .package. It gives both package names and their version numbers.

See Also

.packages