portalcasting app | R Documentation |
run_app
constructs and launches a local version of the web application by running shiny::runApp
pointed to the app
subdirectory in the local portalcasting
package folder.
global_list
creates a list of values that are globally available in an app run.
run_app(main = ".")
global_list(main = ".")
main |
|
global_list
: a list
of values that will be globally available in the app.
run_app
runs the app itself.
Other shinyapp:
portalcasting app selection helpers
,
portalcasting app server
,
portalcasting app ui
## Not run:
main1 <- file.path(tempdir(), "app")
setup_dir(main = main1)
global_list(main = main1)
if (getShinyOption("shiny.launch.browser", FALSE)) {
run_app(main = main1)
}
unlink(main1, recursive = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.