Re: [Rd] [R] incoherent conversions from/to raw

2009-03-31 Thread Wacek Kusnierczyk
Martin Maechler wrote: (...) > WK> which shows that raw won't coerce to the four first types in the > WK> 'hierarchy' (excluding NULL), but it will to character, list, and > WK> expression. > > WK> suggestion: improve the documentation, or adapt the implementation > to > WK

Re: [Rd] [R] incoherent conversions from/to raw

2009-03-31 Thread Martin Maechler
> "WK" == Wacek Kusnierczyk > on Thu, 19 Mar 2009 10:17:20 +0100 writes: WK> Wacek Kusnierczyk wrote: >> interestingly, >> >> c(1, as.raw(1)) >> # error: type 'raw' is unimplemented in 'RealAnswer' >> >> WK> three more comments. WK> (1) WK

Re: [Rd] [R] incoherent conversions from/to raw

2009-03-19 Thread Wacek Kusnierczyk
Wacek Kusnierczyk wrote: > interestingly, > > c(1, as.raw(1)) > # error: type 'raw' is unimplemented in 'RealAnswer' > > three more comments. (1) the above is interesting in the light of what ?c says: " The output type is determined from the highest type of the components in the