RweaveAsciidoc

0th

Percentile

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.

Keywords
file, IO
Usage
RweaveAsciidoc()
Value

  • None value is returned. From a .Rnw noweb file, the corresponding .txt 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, RweaveAsciidoc provides two new options : res for the resolution of jpg or png figure (if produced), and ext (extension) for the format of figure that will be inserted.

See Also

Sweave

Aliases
  • RweaveAsciidoc
  • RweaveAsciidocOptions
  • RweaveAsciidocFinish
  • RweaveAsciidocWritedoc
  • RweaveAsciidocSetup
  • RweaveAsciidocRuncode
  • SweaveSyntaxAsciidoc
Examples
library(tools)
Sweave("file.Rnw",driver=RweaveAsciidoc)
Documentation reproduced from package ascii, version 0.1.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.