run_app {tcgaViz} | R Documentation |
Run the Shiny Application
Description
Runs a Shiny application. This function normally does not return; interrupt R to stop the application (usually by pressing Ctrl+C or Esc).
Usage
run_app(
onStart = NULL,
options = list(),
enableBookmarking = NULL,
uiPattern = "/",
...
)
Arguments
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 |
Details
For more information about this function, please take a look at https://CRAN.R-project.org/package=golem/vignettes/c_deploy.html.
Value
An object that represents the app.
Examples
if (interactive()) {
# Start app in the current working directory
run_app()
# Start app in a subdirectory called myapp
run_app("myapp")
}