ascii (version 2.0)

cacheSweaveT2t: A driver to parse txt2tags noweb files with Sweave tool - cacheSweave based

Usage

cacheSweaveT2tSetup(..., cache = FALSE, trace = FALSE, dependson = NULL)

RweaveT2tSetup(file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "t2t", backend = "txt2tags", openSchunk = "```", closeSchunk = "```", openSinput = "", closeSinput = "", openSoutput = "", closeSoutput = "", indent = "", openInclude = "%!include: ", closeInclude = ".t2t", openFig = "[", closeFig = "]", ...)

weaverT2tSetup(file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "t2t", backend = "txt2tags", openSchunk = "```", closeSchunk = "```", openSinput = "", closeSinput = "", openSoutput = "", closeSoutput = "", indent = "", openInclude = "%!include: ", closeInclude = ".t2t", openFig = "[", closeFig = "]", use.cache = TRUE, ...) trace{trace}

dependson{dependson}

file{file}

syntax{syntax}

output{output}

quiet{quite}

debug{debug}

stylepath{stylepath}

...{...}

use.cache{use.cache} None value is returned. From a .Rnw noweb file, the corresponding .t2t is produced (as eventuals files for graphs). A driver to parse txt2tags noweb files with Sweave tool - cacheSweave based

A driver to parse txt2tags noweb files with Sweave tool - cacheSweave based

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

RweaveT2tSetup

weaverT2tSetup

weaverT2t In order to work properly, noweb codes have to be located at the beginning of a line (no indentation).

Compare with RweaveLatex driver, RweaveT2t 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 cacheSweaveT2t driver and weaverT2t driver.

A wrapper for Sweave can be used, named T2t. library(ascii) T2t("file.Rnw") [object Object] Sweave, T2t file internal IO

Arguments