quarto_serve | R Documentation |
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.
quarto_serve(
input,
render = TRUE,
port = getOption("shiny.port"),
host = getOption("shiny.host", "127.0.0.1"),
browse = TRUE
)
input |
The input file to run. Should be a file with
a |
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.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.