RweaveT2t {ascii}R Documentation

A driver to parse txt2tags noweb files with Sweave tool

Description

This driver parses txt2tags files containing R code and replace pieces of code with their output.

Usage

  RweaveT2t()

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, RweaveT2t provides four new options : res for the resolution of jpg or png figure (if produced), ext (extension) for the format of figure that will be inserted, and png and jpg (from R2HTML package) to produce png and jpg figures.

ascii package provides a SweaveSyntax object (SweaveSyntax). If used, \SweaveOpts{} is replaced by SweaveOpts:[], and \Sexpr{} is replaced by Sexpr:[].

Author(s)

David Hajage dhajage@gmail.com

See Also

Sweave

Examples


  ## Not run: 
library(tools)
Sweave("file.Rnw",driver=RweaveT2t)
  
## End(Not run)

[Package ascii version 0.1.3 Index]