Installs & Loads Packages

Usage

p_install(package, character.only = FALSE, path = getOption("download_path"), ...)
p_get(package, character.only = FALSE, path = getOption("download_path"), ...)

Arguments

package
Name of package(s).
character.only
logical. If TRUE ... is treated a character string.
path
The path to the directory that contains the package. It is convenient to set download_path in .Rprofile options to the downloads directory.
...
Additional parameters to pass to install.packages.

Installs & Loads Packages

Installs & Loads Packages

Description

Installs a package provided the package is a CRAN package.

Examples

## <strong>Not run</strong>: p_install(pacman)

See also

install.packages