From alexandre.courtiol at gmail.com  Tue Feb 24 14:55:23 2009
From: alexandre.courtiol at gmail.com (alexandre.courtiol at gmail.com)
Date: Tue, 24 Feb 2009 14:55:23 +0100 (CET)
Subject: [Rd] invalid comparison in numeric sequence (PR#13551)
Message-ID: <20090224135524.0113D284A70B@mail.pubhealth.ku.dk>

Full_Name: alex
Version: 2.8.1
OS: Ubuntu / MacOSX
Submission from: (NULL) (162.38.183.51)


> 0.6==0.6
[1] TRUE
> seq(0,1,0.1)==0.4
 [1] FALSE FALSE FALSE FALSE  TRUE FALSE FALSE FALSE FALSE FALSE FALSE
> seq(0,1,0.1)==0.6
 [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> seq(0,1,0.1)==0.8
 [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE  TRUE FALSE FALSE


What is wrong with 0.6 ??? (TRUE is missing)
I tried 3 differents computers (2 Ubuntu with R 2.8.1, and one Mac with R 2.8).



[Rd] invalid comparison in numeric sequence (PR#13551)
alexandre.courtiol at gmail.com