R 1.5.1 (Windows) crashes on plotting density(rnorm(1000)) (PR#1837)

Duncan Murdoch dmurdoch@pair.com
Fri, 26 Jul 2002 11:32:41 -0400


On Fri, 26 Jul 2002 16:16:59 +0200 (MET DST), you wrote:

>I am experiencing a reproducible crash from the following statement:
>
>plot(density(rnorm(1000)))
>
>on R 1.5.1 on Windows 2000.
>
>This is a dual-processor machine with 512Mb of RAM.  Please advise if 
>further details of hardware/OS are needed.

I just tried it in a single processor WinXP machine, with no error.
It's conceivable that the value of the random seed has an effect, but
it's more likely something else.

The invalid operation error can definitely be triggered by code that
messes with the floating point control word.  I hadn't heard that
printer drivers do this, but it is common in video drivers.  Could you
check that you have the latest video driver (and printer driver)
installed?

I don't know an easy way to diagnose this error remotely.

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._