redoc_extract_rmd | R Documentation |
Documents produced with redoc()
store an copy of the original
.Rmd
files used to produce them. This is useful for diffing against the
version created with dedoc()
, especially if tracked changes have not been
used.
redoc_extract_rmd(docx, type = c("original", "roundtrip"), dir = ".", to = NULL, overwrite = FALSE)
docx |
A path to a word file or a an |
type |
One of |
dir |
The directory to write the '.Rmd“ to. Defaults to current working directory |
to |
the filename to write the resulting |
overwrite |
whether to overwrite existing files |
The path to the extracted .Rmd
redoc_extract_rmd(redoc_example_docx(), dir = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.