Learn R Programming

ascii (version 2.6)

RweavePandoc: 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.

Description

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

Usage

RweavePandoc()

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, ... )

weaverPandoc()

Value

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

Arguments

file

file

syntax

syntax

output

output

quiet

quite

debug

debug

...

...

use.cache

use.cache

Author

David Hajage dhajage@gmail.com Matti Pastell matti.pastell@helsinki.fi

See Also

Sweave, Pandoc

Examples

Run this code
  if (FALSE) {
Pandoc("file.Rnw")
  }

Run the code above in your browser using DataLab