Re: [R] sweave xtable and driver RweaveHTML

2012-11-08 Thread Duncan Mackay
Hi I have sometimes had to produce an html table in Sweave for a complicated table and have make a chunk of it . cut down version below. You could use the defaults for write.table fhtml <- paste(baseRimg, "-T", ".html", sep = "") if (file.exists(fhtml) ) file.remove(fhtml) file

Re: [R] sweave xtable and driver RweaveHTML

2012-11-08 Thread Yihui Xie
You can certainly generate an HTML table, but how about the rest of your Snw document? How are you going to convert them to HTML? I mean otherwise you get something like this which is not a valid HTML document: \documentclass{article} \begin{document} Sepal.Length Sepal.Width Petal.Lengt

[R] sweave xtable and driver RweaveHTML

2012-11-08 Thread Witold E Wolski
Hi, So far I used Sweave to create pdf reports. I used xtable to create some tables in the report. But now I would like to use the same snw file to generate an HTML version. The xtable output breaks the RweaveHTML driver. library(R2HTML) Sweave('analyseLFQ.Snw', driver = RweaveHTML) Error in mat