Based on shiny::runExample, and takes the same arguments.
runExample(
example = NA,
port = getOption("shiny.port"),
launch.browser = getOption("shiny.launch.browser", interactive()),
host = getOption("shiny.host", "127.0.0.1"),
display.mode = c("auto", "normal", "showcase")
)
This function normally does not return; interrupt R to stop the application (usually by pressing Ctrl+C or Esc).
Example to run. NA
to list the examples.
The TCP port that the application should listen on
Whether to open the app in a browser
The IPv4 address to listen on.
Display mode for the app.