Calling dev.off() creates a new cairo device instead of closing the existing one:
> plot (1,1) > dev.off() Warning message: In dev.off() : Display list redraw incomplete X11cairo 4 Now, calling dev.off() twice closes the two devices. > dev.off() X11cairo 3 > dev.off() null device 1 This doesn't happen if x11() is called explicitly: > x11 () > plot(1,1) > dev.off() null device 1 x11(type='Xlib') or x11 (type='cairo') or x11(type='nbcairo') behave fine as well (ie when called explicitly before plotting). Other devices: pdf () or png () (and hopefully others) work fine too. Reagrds, -- Prasenjit PS: This is independent of my "graphics history" modifications... But I am working with the current svn. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel