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

Gabor Csardi csardi at rmki.kfki.hu
Mon Jun 16 19:05:13 CEST 2008


See R FAQ 7.31 and also
http://docs.sun.com/source/806-3568/ncg_goldberg.html

G.

On Mon, Jun 16, 2008 at 06:45:21PM +0200, 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)
> 
> 
> 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

-- 
Csardi Gabor <csardi at rmki.kfki.hu>    UNIL DGM



More information about the R-devel mailing list