On 04/20/2011 10:13 AM, William Dunlap wrote:
-----Original Message-----
From: r-devel-boun...@r-project.org
[mailto:r-devel-boun...@r-project.org] On Behalf Of Martin Morgan
Sent: Wednesday, April 20, 2011 9:56 AM
To: R-devel@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()?

Hi Bill --

short-sighted consistency with other as.*; implied simplicity of coercion rather than construction.

Martin


Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com


--
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to