This function will install into the folder listed under the environmental variable R_LIBS_USER. The user can specify this in the systems environmental variables or in the .Renviron file.

Usage,
install.pkgs.user_lib(pkgs, ...)

Arguments

pkgs

string character vector list of packages

...

any other arguments passed to install.packages()

Details

Installs packages into the folder referenced by the R_LIBS_USER environmental variable.

Examples

if (FALSE) {
  pkgs <- c("RODBC","RJDBC")
  install.pkgs.user_lib(pkgs = pkgs, dependencies = TRUE)
}