Hi, I was wondering if there was an easy way to add a caption to a data frame when it is being sent to a html page using R2HTML. currently the following command will produce a reasonably formatted table in a html file HTML(mydataframe) It would be good if you could send caption with the table something like HTML(lCaption="my table caption",mydataframe) # this works but leaves a blank line and caption is outside the table definition in the html source produced
Matthew.Kelly at csiro.au wrote:> Hi, > I was wondering if there was an easy way to add a caption to a data frame when it is being sent to a html page using R2HTML. > > currently the following command will produce a reasonably formatted table in a html file > HTML(mydataframe) > > It would be good if you could send caption with the table something like > HTML(lCaption="my table caption",mydataframe) # this works but leaves a blank line and caption is outside the table definition in the html source produced > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.htmlPlease send feature requests related to packages to the package maintainer. library(help=R2HTML) ... Maintainer: Eric Lecoutre <lecoutre at stat.ucl.ac.be> ... I'm sure Eric (in CC) will appreciate your comments. Uwe Ligges