[rkward-devel] dev.off () bug
Prasenjit Kapat
kapatp at gmail.com
Sun Jun 20 23:47:45 UTC 2010
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.
More information about the Rkward-devel
mailing list