Serve a Shiny interactive document. By default, the document will
be rendered first and then served If you have previously rendered
the document, pass render = FALSE
to skip rendering.
Arguments
- input
The input file to run. Should be a file with a
server: shiny
entry in its YAML front-matter.- render
Render the document before serving it.
- port
Port to listen on (defaults to 4848)
- host
Hostname to bind to (defaults to 127.0.0.1)
- browse
Open a browser to preview the content. Defaults to using the RStudio Viewer when running within RStudio.Pass a function (e.g.
utils::browseURL
to override this behavior).