Skip to content

RweaveHTML (R2HTML) Help

2 messages · Derek Ogle, David Hajage

#
Hello Derek,

Unfortunately, I can't help you with R2HTML.

But if you want to generate html output of R commands, you could also try ascii
package <http://eusebe.github.com/ascii/> (available on CRAN).

Here an example file ("example.Rnw", with asciidoc
<http://www.methods.co.nz/asciidoc>markup) :

Example
=======
:Author:    Your Name
:Email:     name at whatever.com

<<>>=
data(iris)
summary(iris)
@

Then, you can use RweaveAsciidoc driver :
Le chargement a n?cessit? le package : proto
Writing to file example.txt
Processing code chunks ...
 1 : echo term verbatim

You can now run asciidoc on 'example.txt'

And then use asciidoc to generate your html file (see asciidoc
homepage<http://www.methods.co.nz/asciidoc>for installation and use).

asciidoc example.txt

You'll find the html file produced in attachement.

Best.

david

2009/4/29 Derek Ogle <DOgle at northland.edu>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: example.html
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090429/1407cf5d/attachment-0002.pl>