Learn R Programming

ascii (version 2.3)

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()

Arguments

file

file

syntax

syntax

output

output

quiet

quite

debug

debug

...

...

use.cache

use.cache

stylepath

stylepath

Value

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

See Also

Sweave, Pandoc

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
Pandoc("file.Rnw")
  
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab