Description Usage Arguments Value
Starts the shiny app in a new tab in the the default web browser. If a browser tab isn't opened it may be necessary to manually open the URL shown in the console.
1 2 3 4 5 6 | start_shiny_app(
load_sample_data = TRUE,
launch_browser = TRUE,
host = getOption("shiny.host", "127.0.0.1"),
port = getOption("shiny.port")
)
|
load_sample_data |
load a sample data set on starting the Shiny app. |
launch_browser |
launch the application in a web browser on starting the Shiny app. |
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. The default value of "127.0.0.1" will only allow the current machine to access the Shiny app; set to "0.0.0.0" to allow other clients to connect. |
port |
the TCP port that the application should listen on. |
opens the Shiny app in a web browser.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.