usePkg | R Documentation |
Use any package. If package is not installed, this will install from CRAN.
usePkg(packageName, allowInstall = FALSE)
packageName |
Name of package as *string*. |
allowInstall |
let the package be installed from CRAN |
TRUE if package successfully loaded, FALSE otherwise.
Benjamin M. Kandel, BB Avants
usePkg("randomForest")
usePkg("stats", allowInstall = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.