Skip to content
Prev 28490 / 63468 Next

graphics::Axis loosing S3/S4 class attributes of 'x' in 2.7.0 RC

On 4/22/2008 9:08 AM, Sklyar, Oleg (MI London) wrote:
I believe it is behaving as documented now, so the behaviour is 
"logical", even if it may not be convenient.  In your example

x = Sys.time() + runif(100,1,7200) ## time over two hours, POSIXct
plot(x, 1:100)
plot(1:100, x)

the 1st works in 2.6.2 and 2.7.0 and the second only works in 2.6.2. 
But the change below was designed to fix the case

plot(x)

which works in 2.7.0 and *not* in 2.6.2, so reverting the change is not 
the way to address this.

Duncan Murdoch