Description Usage Arguments Value Examples
Make sure you have created the app directory and it has config/config.yaml file.
spsOptDefaults prints out all default and other avaliable values for each option. spsOptions print all current set option values.
Note: the spsUtil::spsOption is used to get or set a single option value. spsOptions is used to print all current option values. If you need to set all values at once, use the global.R file under SPS project root.
1 2 3 | spsOptDefaults(app_path = getwd())
spsOptions(app_path = getwd(), show_legend = TRUE)
|
app_path |
path, where is the app directory |
show_legend |
bool, show the color legend? |
cat to console SPS option values
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.