Description Usage Arguments Examples
Import one or more libraries and add them to the Yhat model's dependency list
1 2 |
name |
name of the package to be added |
src |
source from which the package will be installed on ScienceOps (github or CRAN) |
version |
version of the package to be added |
user |
Github username associated with the package |
install |
Whether the package should also be installed into the model on the ScienceOps server; this is typically set to False when the package has already been added to the ScienceOps base image. |
1 2 3 4 5 6 7 8 | ## Not run:
yhat.library("MASS")
yhat.library(c("wesanderson", "stringr"))
yhat.library("cats", src="github", user="hilaryparker")
yhat.library("hilaryparker/cats")
yhat.library("my_proprietary_package", install=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.