Takes an itemized listing of R package names and loads them all. If the package is not currently installed, the function will attempt to install the package first. Currently only works if package is available on CRAN.

mylib(..., suppress = TRUE)

Arguments

...

An itemized listing of R package names to either install and load, or just load.

suppress

A boolean indicator defaulted to TRUE that suppresses package messages when loaded. Set to FALSE to view all messages.

See also

library, require, install.packages

Examples

# NOT RUN {
mylib(c("RPostgreSQL", "stringr", "dplyr"))
mylib("data.table")
# }