Re: [R] par(din) vs dev.size()

2008-07-21 Thread Prof Brian Ripley
I don't see why you think it is 'odd'. par() is working with the current working copy of the internal pars, and that is only updated when you plot. It refers to the current state of the device. At least if the display list is turned on, a screen device will replot when it is resized,

[R] par(din) vs dev.size()

2008-07-18 Thread Sarah Goslee
Hello, I was messing around with graphics, and noted an odd behavior of par(din). If the x11 device is empty, par(din) does not return the correct size if the device has been resized manually. dev.size() works correctly. R version 2.7.1; Fedora 8 # case 1 - empty device x11() dev.size() [1]