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 |
tmpfile <- tempfile(fileext = ".Rmd") js4shiny_rmd(type = "plain", full_template = TRUE, path = tmpfile)#> [1] "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//RtmpKjUDqd/file11632243e28.Rmd"js4shiny_rmd(type = "plain", path = tmpfile, overwrite = TRUE)#> [1] "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//RtmpKjUDqd/file11632243e28.Rmd"