# cacheSweavePandoc

From ascii v2.2
0th

Percentile

##### A driver to parse pandoc noweb files with Sweave tool - cacheSweave based

A driver to parse pandoc noweb files with Sweave tool - cacheSweave based

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

Keywords
internal, file, IO
##### Usage
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, ...)
trace
trace
dependson
dependson
file
file
syntax
syntax
output
output
quiet
quite
debug
debug
stylepath
stylepath
...
...
use.cache
use.cache
##### Value

None value is returned. From a .Rnw noweb file, the corresponding .md is produced (as eventuals files for graphs).

##### Note

In order to work properly, noweb codes have to be located at the beginning of a line (no indentation).

Compare with RweaveLatex driver, RweavePandoc provides one new option : format to choose the format of figure that will be inserted in the final document.

In addition, cache option from cacheSweave or weaver package is also available with cacheSweavePandoc driver and weaverPandoc driver.

A wrapper for Sweave can be used, named Pandoc.

Sweave, Pandoc

##### Aliases
• cacheSweavePandoc
• cacheSweavePandocSetup
• RtanglePandoc
• RweavePandoc
• RweavePandocFinish
• RweavePandocOptions
• RweavePandocRuncode
• RweavePandocSetup
• RweavePandocWritedoc
• weaverPandoc
• weaverPandocSetup
##### Examples
## Not run:
# library(ascii)
# Pandoc("file.Rnw")
# ## End(Not run)

Documentation reproduced from package ascii, version 2.2, License: GPL (>= 2)

### Community examples

Looks like there are no examples yet.