runAppx | R Documentation |
Runs an example Shiny app via shiny::runExample()
.
runAppx(example = "mini", x = NULL, ...)
example |
character: name of the example to run, or NA to list the available examples |
x |
data frame: data to pass to the app |
... |
further parameter given to |
Note that for running a Shiny app more libraries might be necessary.
invisibly the (modified) data set x
# Example requires the use of a `shiny` app (See Vignette)
# List all available examples
runAppx(NA)
## Not run:
# Run the "mini" example app
runAppx("mini")
# Run with a dataset passed to the app
check <- data.frame(a = 1:9)
runAppx("mini", x = check)
# Can also pass arguments to shiny::runExample
runAppx("mini", display.mode = "showcase")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.