Re: [Rd] difficulties with setMethod("[" and ...

2010-05-18 Thread Jim Bullard
On Tue, 18 May 2010 10:22:03 +0200, Martin Maechler wrote: >> Tony Plate >> on Mon, 17 May 2010 20:51:12 -0600 writes: > > > Jim, yes, I have dealt with that particular challenge that list(...) > > throws an error for a call like f(x,,,) where the empty args match > > to

Re: [Rd] difficulties with setMethod("[" and ...

2010-05-18 Thread Martin Maechler
> Tony Plate > on Mon, 17 May 2010 20:51:12 -0600 writes: > Jim, yes, I have dealt with that particular challenge that list(...) > throws an error for a call like f(x,,,) where the empty args match to a > ... formal argument. Here's some fragments of code that I used t

Re: [Rd] difficulties with setMethod("[" and ...

2010-05-17 Thread Tony Plate
Jim, yes, I have dealt with that particular challenge that list(...) throws an error for a call like f(x,,,) where the empty args match to a ... formal argument. Here's some fragments of code that I used to cope with this: # to find the empty anon args, must work with the unevaluated dot