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. cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan Maximus-von-Imhof-Forum 3 85354 Freising, Germany http://webclu.bio.wzw.tum.de/~pagel/ ______________________________________________ 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.