[R] Saving console and graph output to same file
p.pagel at wzw.tum.de
Tue Apr 5 10:38:36 CEST 2011
On Tue, Apr 05, 2011 at 10:53:03AM +0530, Nikhil Abhyankar wrote:
> Hello All,
> How do I save the output of the R console and the graphic output to the same
> PDF file and append these to each other?
> I need to have a frequency table and a corresponding graph, one below the
> other in a file. I have tried with sending the cross table to the graph
> window using 'textplot' and then saving the graphic output. However, the
> table does not look nice in the graph output.
> Is there any way the output from the console can be saved in a file and then
> the output from the graph window be appended to the same file?
Sweave an odfWeave are very nice methods for generating reports with
both text, R code, Results from R and Graphics.
Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
85354 Freising, Germany
More information about the R-help