knit2pandoc {knitr} | R Documentation |
knit()
and
PandocKnits the input file and compiles to an output format using Pandoc.
knit2pandoc(input, output = NULL, tangle = FALSE, text = NULL, quiet = FALSE, envir = parent.frame(), encoding = getOption("encoding"), to = "html", pandoc_wrapper = NULL, ...)
input |
path of the input file |
output |
path of the output file for |
tangle |
whether to tangle the R code from the input file (like
|
text |
a character vector as an alternative way to provide the input file |
quiet |
whether to suppress the progress bar and messages |
envir |
the environment in which the code chunks are to be evaluated
(for example, |
encoding |
the encoding of the input file; see |
to |
a character string describing the Pandoc output format to use |
pandoc_wrapper |
an R function used to call Pandoc; by default, if
rmarkdown installed uses
|
... |
options to be passed to the |
Returns the output of the pandoc_wrapper
function.
Trevor L. Davis