From sbbrouwer at gmail.com  Sat May 20 18:20:30 2017
From: sbbrouwer at gmail.com (Sietse Brouwer)
Date: Sat, 20 May 2017 18:20:30 +0200
Subject: [Rd] Bug: floating point bug in nclass.FD can cause hist() to
	crash
In-Reply-To: <5378285b-fbba-8637-42df-f7ce5ef1dd82@prodsyse.com>
References: <CAF=dkzxor=d5FLN_W_FSg5yYjEKFrQxuPiADdqQqqX_mzrDdzQ@mail.gmail.com>
 <5378285b-fbba-8637-42df-f7ce5ef1dd82@prodsyse.com>
Message-ID: <CAF=dkzyrWT1ovJSWJ9oNJ3N-Pkc573tGM5auzCTc_WjBGu8+ZQ@mail.gmail.com>

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 integer, hist's
> call to `base::pretty` crashes.

I have been provided with an account, and filed the bug at
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17274

Discussion continues there.

Cheers,
Sietse



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