Re: R-alpha: unclass(factor) incompatible

Z. Todd Taylor (
Fri, 13 Sep 1996 14:28:55 -0700

Date: Fri, 13 Sep 1996 14:28:55 -0700
From: (Z. Todd Taylor)
Subject: Re: R-alpha: unclass(factor) incompatible

Thomas Lumley <> 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

- - - - - - - - - - - - - - -
Z. Todd Taylor
Pacific Northwest National Laboratory
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: