[R] creating a ps. file

2004-03-15 Thread mike . campana
Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps) I overwrite my results with the second cycle of the loop. I

RE: [R] creating a ps. file

2004-03-15 Thread BXC (Bendix Carstensen)
-- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, March 15, 2004 12:37 PM To: [EMAIL PROTECTED] Subject: [R] creating a ps. file Dear all I wrote a routine. At the end of each cycle of the loop I

Re: [R] creating a ps. file

2004-03-15 Thread Marc Schwartz
On Mon, 2004-03-15 at 05:37, [EMAIL PROTECTED] wrote: Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps) I

Re: [R] creating a ps. file

2004-03-15 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps) I overwrite my results with the second

Re: [R] creating a ps. file

2004-03-15 Thread asemeria
for (i in 1:n){ dev.print(postcript,file=paste(c:/Rfigures/plot_,i,.ps,sep=)) } Best! A.S. Alessandro Semeria Models and Simulations Laboratory Montecatini Environmental Research Center (Edison Group), Via Ciro Menotti 48, 48023 Marina di Ravenna (RA), Italy

Re: [R] creating a ps. file

2004-03-15 Thread christopher ciotti
[EMAIL PROTECTED] wrote: Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps) I overwrite my results with the

Re: [R] creating a ps. file

2004-03-15 Thread Mahmood Arai
[EMAIL PROTECTED] wrote: Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps) I overwrite my results with the

Re: [R] creating a ps. file

2004-03-15 Thread Thomas Petzoldt
[EMAIL PROTECTED] wrote: Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps) I overwrite my results with the

Re: [R] creating a ps. file

2004-03-15 Thread Thomas Petzoldt
[EMAIL PROTECTED] wrote: Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps) I overwrite my results with the

RE: [R] creating a ps. file

2004-03-15 Thread Adaikalavan Ramasamy
paste(c:/Rfigures/plot, i, .ps, sep=) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: 15 March 2004 11:37 To: [EMAIL PROTECTED] Subject: [R] creating a ps. file Dear all I wrote a routine. At the end of each cycle

Re: [R] creating a ps. file

2004-03-15 Thread Prof Brian Ripley
Before the loop, open a postscript device with onefile=FALSE, and see the advice in the postscript help page for how to specify the file argument. Then each plot will produce a separate file. (Remember to do dev.off() after the loop.) On Mon, 15 Mar 2004 [EMAIL PROTECTED] wrote: I wrote a

Re: [R] creating a ps. file

2004-03-15 Thread Timur Elzhov
On Mon, Mar 15, 2004 at 12:37:02PM +0100, [EMAIL PROTECTED] wrote: I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps)