RweaveHTML: A driver to parse HTML noweb files with Sweave tool

RweaveHTMLR Documentation

A driver to parse HTML noweb files with Sweave tool

Description

This driver parses HTML files containing R code and replace pieces of code with their output. Graphs are incorporated as png.

Usage

RweaveHTML()

Value

None value is returned. From a .snw noweb file, the corresponding .html is produced (as eventuals png files for graphs).

Note

In order to work properly, noweb codes have to be located at the beginning of a line (no indentation). See samples in the samples directory of the package.

Author(s)

Eric Lecoutre

See Also

Sweave

Examples


## Not run: 
library(tools)
Sweave("file.snw",driver=RweaveHTML)

## End(Not run)

nalimilan/R2HTML documentation built on May 28, 2022, 9:32 p.m.