From csardi at rmki.kfki.hu  Mon Jun 16 19:05:13 2008
From: csardi at rmki.kfki.hu (Gabor Csardi)
Date: Mon, 16 Jun 2008 12:05:13 -0500
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: <20080616170513.GA22218@localdomain>

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



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