[Rd] pretty not covering the range properly (PR#673)

david@orion-10.cs.byu.edu david@orion-10.cs.byu.edu
Fri, 29 Sep 2000 22:57:58 +0200 (MET DST)


When I issue the command:

if ( c(2.8,3)[1] < pretty (c(2.8,3))[1]) print ("problem")

the result is "problem" prints.
I have traced it to bits and the 2.8 of the returned vector from pretty is slightly larger.
This seems to be due to the conversion to base 10 with the ns and unit variables in src/appl/pretty.c.

Anyway if I do something like:
hist(c(2.8,3))
it fails as well because it uses pretty.

Thanks for you attention,
DavidMcLaughlin@byu.edu




--please do not edit the information below--

Version:
 platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status = Patched
 major = 1
 minor = 1.1
 year = 2000
 month = August
 day = 23
 language = R

Search Path:
 .GlobalEnv, Autoloads, package:base

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._