From dmurdoch@pair.com  Fri Jul 26 16:32:41 2002
From: dmurdoch@pair.com (Duncan Murdoch)
Date: Fri, 26 Jul 2002 11:32:41 -0400
Subject: R 1.5.1 (Windows) crashes on plotting density(rnorm(1000)) (PR#1837)
In-Reply-To: <200207261416.QAA24871@pubhealth.ku.dk>
References: <200207261416.QAA24871@pubhealth.ku.dk>
Message-ID: <cnq2kugtuf7oq2cd8p46sv6ai1ttav2e17@4ax.com>

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


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