runExample | R Documentation |
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")
)
example |
Example to run. |
port |
The TCP port that the application should listen on |
launch.browser |
Whether to open the app in a browser |
host |
The IPv4 address to listen on. |
display.mode |
Display mode for the app. |
This function normally does not return; interrupt R to stop the application (usually by pressing Ctrl+C or Esc).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.