Nothing
#' Save Shiny Server Temporarily
#'
#' @inheritParams saveFiles
#' @returns No return value. It is used to save necessary files temporarily
#' to run Shiny App.
saveServ <- function(filePath){
servstr <- "shinyServer(function(input, output) {
output$distPlot <- renderPlot({
dist <- rnorm(input$obs)
hist(dist)
})
})"
servsplt <- strsplit(servstr, "\n")
servvec <- unlist(servsplt)
fileConn <- file(paste(filePath, "/shinyapp/server.R", sep=""))
writeLines(servvec, fileConn)
close(fileConn)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.