List packages currently used

Description

Creates a string, matrix or data frame that shows the packages and their versions currently used (i.e in the search path).

Usage

1
pkgVersions(type = "string", ncol = 4) 

Arguments

type

a string designating the type of output object: "string", "matrix" or "data frame"

ncol

integer specification for the number of columns in the output when type = "matrix"

Value

a string, character matrix or a data frame with columns "Package" and "Version"

Author(s)

Max Kuhn, original version by Jim Rogers

Examples

1
2
3
pkgVersions()
pkgVersions("matrix")
pkgVersions("data frame")