Have a look at hwrite() in the hwriter package:
http://www.embl.de/~gpau/hwriter/index.html

If x is a data frame, the following will do it:
> library("hwriter")
> hwrite(x, "x.html")

Cheers,

Greg
---
Gregoire Pau
EMBL Research Officer
http://www.embl.de/~gpau/

On 09/05/11 12:40, Samuel Le wrote:
Dear all,



Is there a function in R to convert a matrix or a data.frame into an html table?

Many thanks,

Samuel


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to