Learn R Programming

Jmisc (version 0.3.1.1)

packages: load packages with auto-installation

Description

load add-on packages. If the packages can not be found, install.packages is called.

Usage

packages(x, ...)

Arguments

x

name of the packages

...

arguments to install.packages

See Also

require install.packages

Examples

Run this code
# NOT RUN {
packages("foreach")
# }

Run the code above in your browser using DataLab