cacheSweaveT2t {ascii}R Documentation

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

Description

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

Usage

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

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

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

Arguments

trace

trace

dependson

dependson

file

file

syntax

syntax

output

output

quiet

quite

debug

debug

stylepath

stylepath

...

...

use.cache

use.cache

Value

None value is returned. From a .Rnw noweb file, the corresponding .t2t 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, 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.

Author(s)

David Hajage

David Hajage

David Hajage dhajage@gmail.com

See Also

Sweave, T2t

Examples

## Not run: 
library(ascii)
T2t("file.Rnw")

## End(Not run)

[Package ascii version 2.1 Index]