Re: [R] R Reporting - PDF/HTML mature presentation quality package?

From: Philippe Grosjean <>
Date: Sun 25 Jun 2006 - 18:36:32 EST

Frank E Harrell Jr wrote:
> zubin wrote:

>>Hello, searching for the key packages so i can output, Text, Tables ,and 
>>Graphics into a HTML or PDF report - have R create these reports in an 
>>easy and efficient way without LaTeX - I have searched the R pages but 
>>don't see any mature packages - anyone have any advice on a easy to use 
>>R package one can use for generating publication quality reports?  
>>Outputting HTML or PDF.

> Doing this without LaTeX is like doing statistical analysis without
> linear models and the Wilcoxon test.

It depends the complexity of formatting and the intended use of the report. If required formatting is just title, bold, italic, etc. + tables and graphs inserted in the same page to be viewed in a web browser, HTML (or xHTML/CSS, to be more precise) can do a pretty good job (and it can do even much more). Of course, LaTeX + Sweave => PDF is another solution, richer in functionnalities, but more complex to install, especially on Windows.

Zubin, you ask for "mature package". You should look at R2HTML + svViews (from the SciViews bundle) that work hand in hand to generate chunks of xHTML/CSS elements from R objects (the so called, views), or complete HTML page collecting together several of these views (reports). Depending on the "degree of maturity" that is acceptable for you, you should perhaps plan a beta test and expect some code adaptation, as it is usual with any R package that is not intensively used.

If you prefer dynamic reports, there are many approaches, but I tend to consider Rpad (also on CRAN) as one of the better solution out there. Note that it also uses R2HTML for R objects formatting, although Tom Short customized some of the R2HTML functions for a better use in Rpad. You should probably also customize and/or contribute to the development of R2HTML if you want a solution that best fits your own needs in any case.


Philippe Grosjean mailing list PLEASE do read the posting guide! Received on Sun Jun 25 18:43:21 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 25 Jun 2006 - 20:12:52 EST.

Mailing list information is available at Please read the posting guide before posting to the list.