When I copy/paste/run your code below I get a file with the summary output in a nice table. Telling us your version, operating system, and other information requested in the posting guide may help.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Regina Schinner > Sent: Wednesday, February 10, 2010 1:44 AM > To: r-help@r-project.org > Subject: [R] R2HTML > > I am having difficulties with R2HTML. If I try to generate a HTML file > with the below code, the titles, horizontal line, and scatter plot are > there, but the data summary [summary(iris)] is not. > > --- > > library(R2HTML) > HTMLStart(file="myreport", extension="html", echo=FALSE, > HTMLframe=TRUE) > > HTML.title("Data Description", HR=3) > summary(iris) > > HTMLhr() > > HTML.title("Scatter Plot", HR=3) > plot(iris$Sepal.Length~iris$Sepal.Width) > HTMLplot() > > HTMLStop() > > --- > > How do I add summary data to a HTML file? > > Thanks for any help you can provide > Regina Schinner > ______________________________________________ > 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.