options(graphics.record=TRUE) can be used to switch the recording on (MS Windows, not sure about other platforms). See ?options To set this option as default, use .Rprofile
It is however quite annoying to examine and save all the graphs manually... You might find functions like postscript(), png(), jpeg() and others useful. Petr John Sorkin napsal(a): > I have written an R function that produces multiple graphs. I use > par(ask=TRUE) to allow for the inspection of each graph before the next > graph is drawn. I am looking for a way to recall all graphs drawn in an > R session, and a method that can be used to print all the graphs at one > time. I know that I could simply print each graph after I inspect the > graph, but this gets tiresome if one's function produces tens of graphs. > I suspect that if I knew more about the history menu (which currently > has an entry RECORDING) I could get the graphs to be replayed and > printed, but alas I have not been able to find instructions for using > the HISTORY menu. Please take pity on my when you let me know that some > easy search or command could get me the information I needed. I have > looked, but clearly in the wrong places. > John > > > John Sorkin M.D., Ph.D. > Chief, Biostatistics and Informatics > Baltimore VA Medical Center GRECC, > University of Maryland School of Medicine Claude D. Pepper OAIC, > University of Maryland Clinical Nutrition Research Unit, and > Baltimore VA Center Stroke of Excellence -- Petr Klasterecky Dept. of Probability and Statistics Charles University in Prague Czech Republic ______________________________________________ R-help@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.