Re: [Rd] class of integers

2003-03-12 Thread ripley
On Wed, 12 Mar 2003, Torsten Hothorn wrote: > > Hi, > > I'm a little bit confused about the class of integers (with yesterdays > r-devel): > > R> a <- 1:10 > R> class(a) > [1] "integer" > R> inherits(a, "integer") > [1] FALSE > R> data.class(a) > [1] "numeric" > R> is.numeric(a) > [1] TRUE > R>

Re: [Rd] class of integers

2003-03-12 Thread Kurt Hornik
> Torsten Hothorn writes: > Hi, > I'm a little bit confused about the class of integers (with yesterdays > r-devel): R> a <- 1:10 R> class(a) > [1] "integer" R> inherits(a, "integer") > [1] FALSE R> data.class(a) > [1] "numeric" R> is.numeric(a) > [1] TRUE R> inherits(a, "numeric") > [1] FAL

[Rd] class of integers

2003-03-12 Thread Torsten Hothorn
Hi, I'm a little bit confused about the class of integers (with yesterdays r-devel): R> a <- 1:10 R> class(a) [1] "integer" R> inherits(a, "integer") [1] FALSE R> data.class(a) [1] "numeric" R> is.numeric(a) [1] TRUE R> inherits(a, "numeric") [1] FALSE data.class is consistent with R-1.6.2, ok