shiny (version 0.9.1)

runExample: Run Shiny Example Applications

Description

Launch Shiny example applications, and optionally, your system's web browser.

Usage

runExample(example = NA, port = NULL,
  launch.browser = getOption("shiny.launch.browser", interactive()),
  host = getOption("shiny.host", "127.0.0.1"), display.mode = c("auto",
  "normal", "showcase"))

Arguments

Examples

Run this code
# List all available examples
runExample()

# Run one of the examples
runExample("01_hello")

# Print the directory containing the code for all examples
system.file("examples", package="shiny")

Run the code above in your browser using DataLab