From murdoch at stats.uwo.ca  Mon Jun 16 19:05:44 2008
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Mon, 16 Jun 2008 13:05:44 -0400
Subject: [Rd] bug with function seq() (PR#11705)
In-Reply-To: <20080616164521.D3846282EFF7@mail.pubhealth.ku.dk>
References: <20080616164521.D3846282EFF7@mail.pubhealth.ku.dk>
Message-ID: <48569D68.2030000@stats.uwo.ca>

On 6/16/2008 12:45 PM, talbot at clipper.ens.fr wrote:
> Full_Name: Gr?goire Talbot
> Version: 2.7.0
> OS: windows 2000
> Submission from: (NULL) (147.99.1.149)

Not a bug.  See FAQ 7.31 (which should really be FAQ 1, I think.)

Duncan Murdoch

> 
> 
> Try this :
> 
>> a=seq(from=0.1,to=1,by=0.1)
>> a
>  [1] 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
> 
> Ok
> 
>> a[1]==0.1
> [1] TRUE
> 
> Ok
> 
>> a[3]==0.3
> [1] FALSE
> 
> !!!
> 
>> a[3]
> [1] 0.3
> 
> !!!
> 
>> a[3]=0.3
>> a[3]==0.3
> [1] TRUE
> 
> 
> ??????????????????????????
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] bug with function seq() (PR#11705)
Duncan Murdoch