[R] creating a ps. file

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Mon Mar 15 15:43:12 CET 2004


paste("c:/Rfigures/plot", i, ".ps", sep="")

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of
> mike.campana at freesurf.ch
> Sent: 15 March 2004 11:37
> To: r-help at stat.math.ethz.ch
> Subject: [R] creating a ps. file
>
>
> 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 suppose
> there is a way to define the file name so that several plots are
> created(plot_1,plot_2...).
>
> Could you give me an advice? Thanks a lot
>
> Best Regards
> Mike
>
> ---
> ---
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list