[Rd] Strange behavior of pretty

Ulrike Grömping groemp at tfh-berlin.de
Sat Nov 3 21:34:10 CET 2007


Dear all,

I got stuck with a weird behavior of pretty:
    pretty(c(-1,1),n=1)
yields -2, 0, 2 instead of the desired result -1 1.
Likewise, 
    pretty(c(-2,2),n=1)
yields -5, 0, 5 instead of the desired result -2 2.
With n=0, the result is the same, while with n=2 everything is as
documented.

This behavior nastily messed up some of my cube plots. Is there any chance
that this can be fixed? 

Regards, Ulrike

-- 
View this message in context: http://www.nabble.com/Strange-behavior-of-pretty-tf4744337.html#a13566672
Sent from the R devel mailing list archive at Nabble.com.



More information about the R-devel mailing list