run_app | R Documentation |
Runs a Shiny application. This function normally does not return; interrupt R to stop the application (usually by pressing Ctrl+C or Esc).
run_app(
onStart = NULL,
options = list(),
enableBookmarking = NULL,
uiPattern = "/",
...
)
onStart |
A function that will be called before the app is actually run.
This is only needed for |
options |
Named options that should be passed to the |
enableBookmarking |
Can be one of |
uiPattern |
A regular expression that will be applied to each |
... |
arguments to pass to golem_opts.
See |
For more information about this function, please take a look at https://CRAN.R-project.org/package=golem/vignettes/c_deploy.html.
An object that represents the app.
## Not run:
# Start app in the current working directory
run_app()
# Start app in a subdirectory called myapp
run_app("myapp")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.