deploy | R Documentation |
Deploy (copy) the shiny application to the specified directory
deploy(
directory = "/srv/shiny-server",
app_name = "insane",
demo = FALSE,
overwrite = FALSE
)
directory |
[character] A character vector of one path to the new location. |
app_name |
[character] A character vector defining the shiny application name in the new location. |
demo |
[logical] A logical indicating if examples spreadsheets should be copied in the app. |
overwrite |
[logical] A logical indicating if existing destination files should be overwritten. |
[logical] A logical indicating whether the deployment is successfull (TRUE
) or not (FALSE
).
deploy(directory = ".")
if (interactive()) {
shiny::runApp("insane")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.