Description Usage Arguments Details Author(s) See Also
This function is designed to be used in place of library and install.packages. It will check if a potential package is downloaded and, if not, it will try to download it using install.packages.
1 |
... |
Packages that should be loaded |
list |
A character list of packages that should be loaded |
dependencies |
Passed to |
The function uses the logical output from require to determine if the package exists locally. If it does, the package is then loaded using library. If not, the function tries do download the package using install.packages, checks to make sure it downloaded, then loads the package.
Michael Floren
install.packages,
require, library
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.