packages: load packages with auto-installation

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)

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

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