Re: [R] R design (was "Variable passed to function not used in function in select)

From: hadley wickham <h.wickham_at_gmail.com>
Date: Tue, 11 Nov 2008 17:09:47 -0600

> That's why (I think) it should be an *** optional argument
> with default set to FALSE *** ... it's clear from the past traffic
> on the list (I won't take the time to dig up the thread
> references right now) that there is at the very least
> a significant minority of users who expect the opposite,
> or at least would like a reasonably transparent way
> (not involving chicken entrails or mysterious incantations :-) )
> to make this behavior happen when they do want it.

Is there a reason you don't just do options(stringAsFactors = F) ? i.e. why not use character vectors which behave in almost all respects identically to factors, except that they don't preserve levels.

Hadley

-- 
http://had.co.nz/

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 11 Nov 2008 - 23:17:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Nov 2008 - 00:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive