weaverAsciiSetup(file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "txt", backend = "asciidoc", openSchunk = "----", closeSchunk = "----", openSinput = "", closeSinput = "", openSoutput = "", closeSoutput = "", indent = "", openInclude = "include::", closeInclude = ".txt[]", openFig = "image::", closeFig = "[]", use.cache = TRUE, ...)
- use.cache
{use.cache}
None value is returned. From a .Rnw noweb file, the corresponding
.txt is produced (as eventuals files for graphs).
A driver to parse asciidoc noweb files with Sweave tool - cacheSweave basedA 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
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 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 cacheSweaveAsciidoc
driver and
weaverAsciidoc
driver.
A wrapper for Sweave
can be used, named Asciidoc
.
library(ascii)
Asciidoc("file.Rnw")
[object Object]
Sweave
, Asciidoc
file
internal
IO