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

Duncan Murdoch murdoch at stats.uwo.ca
Mon Jun 16 19:05:44 CEST 2008


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



More information about the R-devel mailing list