View source: R/library_install.R
library_install | R Documentation |
Loads packages specified in vector pkg
. If some packages are not
yet installed, they will be automatically installed by this function using
install.packages
.
library_install( pkg, ... )
pkg |
Vector with package names |
... |
Further arguments to be passed to
|
## Not run:
# try to load packages PP and MCMCglmm
library_install( pkg=c("PP", "MCMCglmm") )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.