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

2011-05-09 Thread Samuel Le
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

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

2011-05-09 Thread Gerrit Eichner
Hello, Samuel, take a look at the package R2HTML. Hth -- Gerrit On Mon, 9 May 2011, 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 -

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

2011-05-09 Thread Gregoire Pau
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:

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

2011-05-09 Thread David Scott
On 9/05/2011 10:40 p.m., 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 xtable() in the xtable package can do this (at least to some extent). It is commonly used to write LaTeX but there is an option to