new_shinycoder <- function(path, ...) {
dir.create(path, recursive = TRUE, showWarnings = FALSE)
fileConn<-file(paste(path, .Platform$file.sep, "run_shinycoder.R", sep=""))
writeLines(c("library(shinycoder)","shinycoder()"), fileConn)
close(fileConn)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.