Date: Fri, 13 Sep 1996 14:28:55 -0700 From: d3a061@aggie.pnl.gov (Z. Todd Taylor) Subject: Re: R-alpha: unclass(factor) incompatible To: r-testers@stat.math.ethz.ch Thomas Lumley <thomas@biostat.washington.edu> wrote: > Presumably because factors are primitive in R, unclass(factor) does not > produce a numeric vector as it does in S. > > When you would use unclass(factor) in S, use as.numeric(factor) in R I'll point out (as a lurker hoping to find time to install R soon) that S's factors are seriously (IMHO) broken and the R developers shouldn't bend over backward trying to emulate their misfeatures. I've posted a couple of rants on this topic to s-news; if anyone's interested in seeing them again, let me know. --Todd - - - - - - - - - - - - - - - Z. Todd Taylor Pacific Northwest National Laboratory zt_taylor@pnl.gov =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-testers mailing list -- To (un)subscribe, send subscribe or unsubscribe (in the "body", not the subject !) To: r-testers-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-