[Rd] NA %*% 0 == 0 (PR#4582)
ligges at statistik.uni-dortmund.de
ligges at statistik.uni-dortmund.de
Wed Oct 15 09:06:39 MEST 2003
Peter Dalgaard BSA wrote:
> Thomas Lumley <tlumley at u.washington.edu> writes:
>
>
>>On Tue, 14 Oct 2003 hosking at 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
More information about the R-devel
mailing list