Description Usage Arguments Examples
View source: R/enhanced-functions.R
This function attempts to load or install one or more packages. Adapted from http://stackoverflow.com/questions/4090169/elegant-way-to-check-for-missing-packages-and-install-them
1 |
package |
Package name to be loaded. |
install |
Whether to attempt to install missing packages from CRAN. Defaults to |
... |
Optional additional packages to load, to eliminate the need for c(). |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.