[R] Combine graphical and textual output

Greg Snow Greg.Snow at intermountainmail.org
Mon Jul 2 19:36:12 CEST 2007

The R2HTML package can be used to create and html transcript of your
session (you do need to start, end, and tell it to include graphs).  I
use this when doing an R demonstration (teaching), so that the students
can have a transcript that shows the commands I typed along with their
output (including the graphs).  

Another approach is the odfWeave package.  This is similar to sweave,
except that you use openoffice writer (can read MSWord docs) to set up
the text and set of commands (less overhead/startup than LaTeX).

Hope this helps,

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at intermountainmail.org
(801) 408-8111

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Dieter 
> Vanderelst
> Sent: Monday, July 02, 2007 3:09 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Combine graphical and textual output
> Hi,
> I would like to know whether anybody knows a simple way to 
> combine textual and graphical output in R.
> A typical analysis produces textual output (e.g. model fits) 
> and plots in R. I would like to know whether R has the 
> possibility of combining these into a single 'report' or 
> output. An example of a program that does this is SPSS. After 
> running the analysis you have a combination of textual output 
> (tables) and plots that are easy to print and distribute.
> I know of the possibility to embed R code into LATEX (using 
> Sweave), but I wouldn't call this quick since a lot of coding 
> will go into writing the Sweave file.
> Any other suggestions?
> Regards,
> Dieter
> ______________________________________________
> R-help at stat.math.ethz.ch 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