[Rd] Strange behavior of pretty

From: Ulrike Grömping <groemp_at_tfh-berlin.de>
Date: Sat, 3 Nov 2007 13:34:10 -0700 (PDT)

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.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sat 03 Nov 2007 - 20:38:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 04 Nov 2007 - 08:30:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.