View source: R/html_document.R
js4shiny_rmd | R Documentation |
Opens or creates an R Markdown document using the js4shiny html document templates.
js4shiny_rmd(
type = c("plain", "js"),
full_template = FALSE,
path = NULL,
overwrite = FALSE
)
type |
One of |
full_template |
Include the full R Markdown template document. Default
is |
path |
If |
overwrite |
If |
html_document_plain()
, html_document_js()
tmpfile <- tempfile(fileext = ".Rmd")
js4shiny_rmd(type = "plain", full_template = TRUE, path = tmpfile)
js4shiny_rmd(type = "plain", path = tmpfile, overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.