hasPackages | R Documentation |
The APT Package Management system uses a data-rich caching structure. This accessor function tests whether a given package exists.
hasPackages(pkg)
pkg |
A character vector with name of the package |
A boolean result vector is returned indicating if the package at the given position is available.
Dirk Eddelbuettel
hasPackages(c("r-base-core", "somethingThatDoesNotExist"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.