Launch Shiny example applications, and optionally, your system's web browser.
1 2 3 4 5 6 7 8 | runModuleExample(
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"),
pkg = "hrimodules"
)
|
example |
The name of the example to run, or 'NA' (the default) to list the available examples. |
port |
shiny port option assigned in the environment |
launch.browser |
If true, the system's default web browser will be launched automatically after the app is started. Defaults to true in interactive sessions only. |
host |
The IPv4 address that the application should listen on. Defaults to the 'shiny.host' option, if set, or '"127.0.0.1"' if not. |
display.mode |
The mode in which to display the example. Defaults to 'showcase', but may be set to 'normal' to see the example without code or commentary. |
pkg |
parameter for the package. Default is set to hrimodules |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.