[Rd] Make as.factor an S3 generic?

William Dunlap wdunlap at tibco.com
Wed Apr 20 19:13:38 CEST 2011


> -----Original Message-----
> From: r-devel-bounces at r-project.org 
> [mailto:r-devel-bounces at r-project.org] On Behalf Of Martin Morgan
> Sent: Wednesday, April 20, 2011 9:56 AM
> To: R-devel at r-project.org
> Subject: [Rd] Make as.factor an S3 generic?
> 
> as.factor / as.ordered is not written as a generic. This differs from 
> as.numeric, as.matrix, and other as.*. The following seems to address 
> this and does not break make check-all.

Why did you decide to make as.factor() generic instead of factor()?

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com



More information about the R-devel mailing list