A driver to parse pandoc noweb files with Sweave tool - cacheSweave based
A driver to parse Pandoc noweb files with Sweave tool This driver parses Pandoc files containing R code and replace pieces of code with their output.
RweavePandocSetup
weaverPandocSetup
weaverPandoc
cacheSweavePandocSetup(..., cache = FALSE, trace = FALSE, dependson = NULL)
RweavePandocSetup(file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "md", backend = "pandoc", openSchunk = "~~~~~~{.R}", closeSchunk = "\n~~~~~~~~~~~\n\n", openSinput = "", closeSinput = "", openSoutput = "\n", closeSoutput = "", indent = "", openInclude = "", closeInclude = "", openFig = "![](", closeFig = ")", ...)
weaverPandocSetup(file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "md", backend = "pandoc", openSchunk = "~~~~~~{.R}", closeSchunk = "\n~~~~~~~~~~~\n\n", openSinput = "", closeSinput = "", openSoutput = "\n", closeSoutput = "", indent = "", openInclude = "", closeInclude = "", openFig = "![](", closeFig = ")", use.cache = TRUE, ...)
Sweave
, Pandoc
## Not run:
# library(ascii)
# Pandoc("file.Rnw")
# ## End(Not run)
Run the code above in your browser using DataCamp Workspace