[R] Odp: Open two graphic devices at a time

Petr PIKAL petr.pikal at precheza.cz
Wed Jul 25 16:18:24 CEST 2007


far from beeing an expert in graphic devices AFAIK you can either see your 
graph on screen (x11 device) or to open other device (pdf, png, ...) and 
to issue plotting commands to that device. Do not forget


after your plot is finished.

Or you can save your plot by menu command File/Save as... (on Windows), 
which you did not specify.


r-help-bounces at stat.math.ethz.ch napsal dne 25.07.2007 15:55:12:

> Hello,
> I would like to export my plots to harddisk (jpeg or pdf). I know that 
> be done with pdf(...) and jpeg(...).
> But my problem is that if I open e.g. the pdf device my plot does not 
> on the screen. If I plot to the x11 device and try to export later the
> outputfile is damaged.
> How can I manage that problem? I want to see my plots on screen and want 
> export them. Is there a chance to open two different devices, or is the 
> way printing twice. One time to x11() and one time to pdf()?
> Thanks a lot for any idea
> -- 
> View this message in context: 
> at-a-time-tf4142321.html#a11783029
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list