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

Description Usage Value Note Author(s) See Also Examples

Description

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

Usage

1

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

1
2
3
4
5
## Not run: 
library(tools)
Sweave("file.snw",driver=RweaveHTML)

## End(Not run)

R2HTML documentation built on May 2, 2019, 5:11 p.m.

Related to RweaveHTML in R2HTML...