getPackages: Retrieve Names of All Installable Packages

Description Usage Arguments Details Value Author(s) Examples

Description

The APT Package Management system uses a data-rich caching structure. This accessor function returns the names of installable packages for a given regular expression.

Usage

1

Arguments

regexp

A regular expression for the package name(s) with a default of all (".").

Details

Note that the package lookup uses regular expressions. If only a single package is desired, append a single $ to terminate the expression. Ie r-cran-rcpp$ will not return results for r-cran-rcpparmadillo and r-cran-rcppeigen.

Value

A data frame with columns containing the package name, the installed version (or NA if not installed) and the section it is installed in (or NA).

Author(s)

Dirk Eddelbuettel

Examples

1
getPackages("^r-(base|doc)-")


Search within the RcppAPT package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.