You need to use a device to print to such as postscript(file="/where/to/put/file/filename.ps") ##your plotting code here dev.off()
Writing a plot at each iteration of your simulation can impact the runtime greatly. Please read the posting guide at the bottom of the e-mail, it can help you get more helpful . . . help --Matt -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Loke Chok Kang Sent: Monday, August 30, 2004 18:42 PM To: [EMAIL PROTECTED] Subject: [R] (no subject) Hi, Sorry, I have a problem that require some help. As I am doing a project with R and this project requires me to do a lot of plotting as I run my simulation, I need R to help me store my plots automatically as the simulation is run. Could anyone advise me on how this can be done? If possible I need all the plots to be written to a file. PS:In all I have over 500 over plots, thus it will not be possible to manually plot all the plots out. >From yours faithfully, Chok Kang [EMAIL PROTECTED] ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html