[R] converting a matrix or data.frame into an html table

Gregoire Pau gregoire.pau at embl.de
Mon May 9 13:06:21 CEST 2011


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 at 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.



More information about the R-help mailing list