[R] Produce a multiple formats graphic

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Nov 6 16:55:09 CET 2007



Cuvelier Etienne wrote:
> Is it possible to produce the same graphic in different formats
> in one shot?
> Now if I want to produce the same graphic in pdf, ps and jpeg
> I run the producing code, but I change the graphic device, and
> I choose successively :
> pdf(...)
> ps(...)
> jpeg(...)
> 
> So in this case I run the same code 3 times, 

Yes, or write a small piece of code that does it for you.

Uwe Ligges


 > or I have
> to choose a format and use converters...
> 
> Is it possible to produce the 3 graphics in once ?
 >
> 
> Thank you very much
>



More information about the R-help mailing list