Description Usage Arguments Details
The load.packages function loads a list of packages.
1 | load.packages(pkgs, repos = "http://cran.itam.mx")
|
pkgs |
Character array containing names of packages. |
repos |
character indicating the URL of a CRAN mirror. http://cran.itam.mx is the default value. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.