Description Usage Arguments Value Examples
View source: R/write_to_disk.R
Write an object to disk and render with rmarkdown::render
.
1 | write_to_disk(object, file.name = NULL, keep.temp = FALSE)
|
object |
Character. No default. |
file.name |
Character or NULL. The name of the rendered file. If NULL the name will be created based on the object argument. Defaults to NULL. |
keep.temp |
Logical. If TRUE the temporary file used to render the final document is kept. This is useful for debugging. Defaults to FALSE. |
Returns object
invisibly.
1 2 | front.matter <- create_front_matter()
write_to_disk(front.matter)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.