[Rd] Getting ... without evaluating it?

2005-05-19 Thread Duncan Murdoch
I'd like a function to get an unevaluated copy of its argument list, including ... . That is, I'd like f - function(...) { args - what goes here?? args } when called as f(a = 1+1, b = foo) to return something like list(a = quote(1+1), b = quote(foo)). If I use args - list(...) then it

Re: [Rd] Getting ... without evaluating it?

2005-05-19 Thread Prof Brian Ripley
On Thu, 19 May 2005, Duncan Murdoch wrote: I'd like a function to get an unevaluated copy of its argument list, including ... . That is, I'd like f - function(...) { args - what goes here?? args } when called as f(a = 1+1, b = foo) to return something like list(a = quote(1+1), b =

Re: [Rd] Getting ... without evaluating it?

2005-05-19 Thread Duncan Murdoch
Prof Brian Ripley wrote: On Thu, 19 May 2005, Duncan Murdoch wrote: I'd like a function to get an unevaluated copy of its argument list, including ... . That is, I'd like f - function(...) { args - what goes here?? args } when called as f(a = 1+1, b = foo) to return something like list(a =