load.packages: load.packages

Description Usage Arguments Details

View source: R/utils2.R

Description

The load.packages function loads a list of packages.

Usage

1
load.packages(pkgs, repos = "http://cran.itam.mx")

Arguments

pkgs

Character array containing names of packages.

repos

character indicating the URL of a CRAN mirror. http://cran.itam.mx is the default value.

Details

The function will try to load each package.

If it fails, the function will proceed to install along with its dependecies.

Newly installed packages will be loaded as well.

Two lists are printed: the list of packages that could be loaded and the list of packages that failed to be installed.

sessionInfo() is called at the end of the function.


mauriciogtec/metodosMultivariados2017 documentation built on May 21, 2019, 1:37 p.m.