| run_example | R Documentation |
Launches a bundled Shiny example app demonstrating the perspectiveR widget.
run_example(example = NULL, ...)
example |
Name of the example to run. Use |
... |
Additional arguments passed to |
If example is NULL, a character vector of available
example names (invisibly). Otherwise, no return value; called for the side
effect of launching a Shiny app.
# List available examples
run_example()
# Launch the demo app
if (interactive()) {
run_example("shiny-basic")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.