packages: Load all needed packages succinctly

Description Usage Arguments Author(s) Examples

Description

Load all needed packages succinctly

Usage

1
2
packages(pkg, reinstall = FALSE, mirror = "https://cloud.r-project.org/",
  quiet = TRUE)

Arguments

pkg

A comma separated list of package names .

reinstall

A logical indicating whether all of the packages provided should be installed or re-installed. Defalut is FALSE.

mirror

A character string indicating the CRAN mirror to use to install packages. Default is mirror = "https://cloud.r-project.org/".

quiet

A logical passed to install.packages for a quiet install. Default is TRUE.

Author(s)

Matthew Buras

Examples

1
2
3
4
5
6
Load collections by type of analysis?
Print message with packages installed
Can feed package list in c() form
Ex1: c("arsenal", "rpart", "survival") or as
a character string separated by a single space
Ex2: "arsenal rpart survival"

mgolafshar/kickstartR documentation built on May 12, 2019, 7:35 a.m.