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
--
-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
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
[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
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
[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
[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
[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
[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
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
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
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)
12 matches
Mail list logo