RweaveHTML | R Documentation |
This driver parses HTML files containing R code and replace pieces of code with their output. Graphs are incorporated as png.
RweaveHTML()
None value is returned. From a .snw noweb file, the corresponding .html is produced (as eventuals png files for graphs).
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.
Eric Lecoutre
Sweave
## Not run:
library(tools)
Sweave("file.snw",driver=RweaveHTML)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.