render_doc | R Documentation |
Calls rmarkdown::render()
to produce the output of a given rmd file
render_doc(file, rmd_dir = "rmd", output_dir = "docs", ...)
file |
A character vector specifying the file name |
rmd_dir |
The directory where the file lives, specified as a character vector |
output_dir |
The output directory, where the knitted versions will be placed |
... |
Other arguments passed to |
#I have a file called \code{"manuscript.rmd"} that lives in my \code{"repo/rmd/"} directory.
## Not run:
render_doc(file = "manuscript.rmd")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.