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")
)

Arguments

example

Example to run. NA to list the examples.

launch.browser

Whether to open the app in a browser

host

The IPv4 address to listen on.

display.mode

Display mode for the app.