Re: [Rd] Bug: floating point bug in nclass.FD can cause hist() to crash

2017-05-20 Thread Sietse Brouwer
Hi, all, Sietse wrote: > Floating point errors can cause a data vector to have an ultra-small > inter-quartile range, which causes `grDevices::nclass.FD` to suggest > an absurdly large number of breaks to `graphics::hist(breaks="FD")`. > Because this large float becomes NA when converted to intege

Re: [Rd] Bug: floating point bug in nclass.FD can cause hist() to crash

2017-05-18 Thread Spencer Graves
I just got the same error message with > sessionInfo() R version 3.4.0 (2017-04-21) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Sierra 10.12.4 Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/

[Rd] Bug: floating point bug in nclass.FD can cause hist() to crash

2017-05-18 Thread Sietse Brouwer
Hello everybody, This is a bug involving functions in core R package: graphics::hist.default, grDevices::nclass.FD, and base::pretty.default. It is not yet on Bugzilla. I cannot submit it myself, as I do not have an account. Could somebody else add it for me, perhaps? That would be much appreciate