[R] Creating pdf report

2010-06-06 Thread bjlwilkinson
I'm looking for a way to create a pdf report that contains multiple graphs on one page as well as tables (ideally with some lines below categories etc.) . I have used the pdf(filename) followed by dev.off() to date but this prints one graph per page and does not seem to have functionality for

Re: [R] Creating pdf report

2010-06-06 Thread Philippe Grosjean
On 06/06/10 19:26, bjlwilkin...@gmail.com wrote: I'm looking for a way to create a pdf report that contains multiple graphs on one page as well as tables (ideally with some lines below categories etc.) . I have used the pdf(filename) followed by dev.off() to date but this prints one graph per

Re: [R] Creating pdf report

2010-06-06 Thread Jannis
For multiple figures on one page have a look at An introduction to R (pdf, downloadable from the net), page 72 For printing the data have a look at: library(gplots) help(textplot) HTH Jannis bjlwilkin...@gmail.com schrieb: I'm looking for a way to create a pdf report that contains

Re: [R] Creating pdf report

2010-06-06 Thread baptiste auguie
Hi, ggplot2 and lattice also provide convenient ways to arrange multiple plots on a page. For tables, there's also a function based on Grid graphics in the gridExtra package. A typical dummy example might be, library(ggplot2) library(gridExtra) p = qplot(Sepal.Length, Petal.Length, data=iris,