load_or_install | R Documentation |
Loads a list of libraries, installs when necessary
load_or_install(wants, repo = "https://cloud.r-project.org/")
wants |
A list of R modules available on CRAN |
repo |
string containing repo to be passed to install.packages |
## Not run:
load_or_install(c('tidyverse', 'Hmisc', 'glmnet'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.