[R] Refreshing X11 plots

From: Ted Harding <Ted.Harding_at_nessie.mcc.ac.uk>
Date: Sun 05 Feb 2006 - 06:47:49 EST

Hi Folks,

This question (or very similar) seems to have been asked before, acorsding to R Site Search:

Timur Elzhov on June 23 2003
David B. Dahl on March 01 2002
(though the latter appears to have date April 10 2003 according to the search result, but the above is the archive date).

Situation: I plot a lot of stuff in an X11 window (device #2), and then with X11() open a new X11 wibdow (device #3) and plot a lot of similar stuff. So, at this stage, device 3 is active.

Now I move away from that screen (switching to a different "desktop"), to do something else; and when I move back to where I was the "active" display (#3) refreshes itself, but the "inactive" one (#2) is blank and I have found no trick to get it to refresh itself short of replaying all the commands needed to draw the plot in the first place.

This is a similar issue to the one stated in the two mails referred to above, neither of which seems to have received an answer.

Is there a way to refresh the plot without re-plotting it from scratch? (R on Linux with X11).

With thanks, and best wishes to all,

E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861
Date: 04-Feb-06                                       Time: 19:47:42
------------------------------ XFMail ------------------------------

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Feb 05 06:58:09 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:22 EST