This function is a convenient wrapper around knitr::knit()
as it
automatically converts multiple R Markdown files (.Rmd
) located in a
specified folder (and, optionally, matching a particular pattern) to standard
Markdown (.md
).
multiKnit(path_in = ".", path_out = path_in, pattern = "*.Rmd$", ...)
Output filenames as character
.
Input file path as character
, defaults to the current
working directory.
Output file path as character
, defaults to 'path_in'.
Passed to list.files()
, defaults to "*.Rmd$"
.
Additional arguments passed to knitr::knit()
.
Florian Detsch