[Rd] does subset.data.frame need to accept extra arguments?
h.wickham at gmail.com
Thu Jul 11 12:59:10 CEST 2013
> It needs to have ... in the formal argument list because the generic
> subset() does.
> It could enforce a run-time warning that some arguments were being skipped
> (by testing length(list(...)) for example), but then NextMethod might fail,
> in a case where an object has a complicated class vector.
That wouldn't be a problem if the check was implemented in
subset.data.frame, would it?
Chief Scientist, RStudio
More information about the R-devel