[R] Saving console and graph output to same file

From: Nikhil Abhyankar <nikhil.abhyankar_at_gmail.com>
Date: Tue, 05 Apr 2011 10:53:03 +0530

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?



        [[alternative HTML version deleted]]

R-help_at_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. Received on Tue 05 Apr 2011 - 08:19:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 05 Apr 2011 - 08:50:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive