clean_render
is a utility function for knitting embedded R Markdown documents. This
circumvents the write access error that typically occurs if you call 'rmarkdown::render()'
from within an Rmarkdown document by opening a new instance of R to render the sub-document,
rendering it, and then deleting the temporary file.
1 | clean_render(toRender = NULL, outDir = NULL, extension = ".pdf")
|
toRender |
A string pertaining to the Rmd file to be rendered (no extension) |
outDir |
The directory rendered reports should be saved to |
extension |
A string pertaining to the extension to use for the knit report, default is .pdf. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.