Re: [Bioc-devel] [Rd] For integer vectors, `as(x, "numeric")` has no effect.

2015-12-11 Thread John Chambers
"numeric" as a virtual class and "double" as a type/class.) On Dec 11, 2015, at 1:25 AM, Martin Maechler wrote: >>>>>> Martin Maechler >>>>>>on Tue, 8 Dec 2015 15:25:21 +0100 writes: > >>>>>> John Chambers >

Re: [Bioc-devel] [Rd] For integer vectors, `as(x, "numeric")` has no effect.

2015-12-19 Thread John Chambers
e to go with that (on r-devel), advertising that it may change the effective definition of some classes. But I can sympathize with choosing 1, 2 or neither. John PS: Until Jan. 4, I may be even poorer at replying than usual, while getting the current book off to the publisher. On Dec 19, 201

Re: [Bioc-devel] [Rd] For integer vectors, `as(x, "numeric")` has no effect.

2015-12-26 Thread John Chambers
1] "integer" > > My wish for 2016: that selectMethod() always tells the truth. For > example selectMethod("coerce", c("integer", "numeric")) doesn't > in a fresh session, only after you call as(1L, "numeric")). Full > story here