packages: load packages with auto-installation

Description Usage Arguments Author(s) See Also Examples

View source: R/packages.r

Description

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

Usage

1

Arguments

x

name of the packages

...

arguments to install.packages

Author(s)

TszKin Julian Chan ctszkin@gmail.com

See Also

require install.packages

Examples

1
2
3
4
## Not run: 
packages("foreach")

## End(Not run)

Jmisc documentation built on May 30, 2017, 6:21 a.m.

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