From ligges at statistik.uni-dortmund.de  Wed Oct 15 09:06:39 2003
From: ligges at statistik.uni-dortmund.de (ligges@statistik.uni-dortmund.de)
Date: Wed Oct 15 09:05:44 2003
Subject: [Rd] NA %*% 0 == 0 (PR#4582)
Message-ID: <200310150706.h9F76d0P015637@pubhealth.ku.dk>

Peter Dalgaard BSA wrote:

> Thomas Lumley <tlumley@u.washington.edu> writes:
> 
> 
>>On Tue, 14 Oct 2003 hosking@watson.ibm.com wrote:
>>
>>
>>>Full_Name: J . R. M. Hosking
>>>Version: 1.8.0
>>>OS: Windows 2000
>>>Submission from: (NULL) (129.34.20.23)
>>>
>>>
>>>On R 1.8.0 (and on R 1.5.1), Windows binary:
>>>
>>>
>>>>NA %*% 0
>>>
>>>     [,1]
>>>[1,]    0
>>>
>>>This is surprising.  Is it a bug?  Note that
>>>
>>
>>I think it's a bug. It doesn't seem to happen on Linux or OS X, though.

R-1.8.0: Does not happen for me on WindowsNT4.0 either (self compiled 
binary, gcc-3.3.1).


> Does for me (RedHat, R 1.8.0 and 1.7.0).


I guess the problem is compiler-dependend, because I get that "0" in a 
self-compiled R-1.7.1 (has been compiled with gcc-3.2.?).

Is your binary self-compiled or from CRAN (Duncan Murdoch compiled the 
CRAN binary with gcc-3.3.1 as well, AFAIK)?

Uwe Ligges


[Rd] NA %*% 0 == 0 (PR#4582)
ligges@statistik.uni-dortmund.de