Learn R Programming

ascii (version 2.6)

RweaveAsciidoc: A driver to parse asciidoc noweb files with Sweave tool This driver parses asciidoc files containing R code and replace pieces of code with their output.

Description

A driver to parse asciidoc noweb files with Sweave tool This driver parses asciidoc files containing R code and replace pieces of code with their output.

weaverAsciidocSetup

weaverAsciidoc

Usage

RweaveAsciidoc()

weaverAsciiSetup( file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "txt", backend = "asciidoc", openSchunk = "----", closeSchunk = "\n----\n", openSinput = "", closeSinput = "", openSoutput = "\n", closeSoutput = "", indent = "", openInclude = "include::", closeInclude = ".txt[]", openFig = "image::", closeFig = "[]", use.cache = TRUE, ... )

weaverAsciidoc()

Value

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

Arguments

use.cache

use.cache

Author

David Hajage dhajage@gmail.com

See Also

Sweave, Asciidoc

Examples

Run this code
  if (FALSE) {
Asciidoc(system.file("examples/Asciidoc-test-1.nw",package="ascii"))
Asciidoc(system.file("examples/Asciidoc-test-1.nw",package="ascii"),weaverAsciidoc())
system("asciidoc Asciidoc-test-1.txt")
  }

Run the code above in your browser using DataLab