[R] turning R expressions into functions?
Hadley Wickham
hadley at rice.edu
Mon Jul 23 23:18:16 CEST 2012
On Mon, Jul 23, 2012 at 2:12 PM, S Ellison <S.Ellison at lgcgroup.com> wrote:
>>> One of the things I would love to add to my package would be the
>>> ability to compare more than two expressions in one call. But
>>> unfortunately, I haven't found out so far whether (and if so, how) it
>>> is possible to extract the elements of a "..." object without
>>> evaluating them.
>>
>>Have a look at match.call.
>
> ... or use
> dotlist <- list(...)
>
> to get a list of everything included in ...
But that evaluates them, which I don't think the original poster wanted.
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
More information about the R-help
mailing list