render | R Documentation |
Render a 'shidashi' project
render(
root_path = template_root(),
...,
prelaunch = NULL,
prelaunch_quoted = FALSE,
launch_browser = TRUE,
as_job = TRUE,
test_mode = getOption("shiny.testmode", FALSE)
)
root_path |
the project path, default is the demo folder from
|
... |
additional parameters passed to |
prelaunch |
expression to execute before launching the session; the expression will execute in a brand new session |
prelaunch_quoted |
whether the expression is quoted; default is false |
launch_browser |
whether to launch browser; default is |
as_job |
whether to run as 'RStudio' jobs; this options is only available when 'RStudio' is available |
test_mode |
whether to test the project; this options is helpful when you want to debug the project without relaunching shiny applications |
This functions runs a 'shiny' application, and returns the job id if 'RStudio' is available.
template_root()
if(interactive()){
render()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.