Re: [Rd] generic function argument list problem

2005-08-31 Thread Göran Broström
On Wed, Aug 31, 2005 at 09:30:37AM +0200, Martin Maechler wrote: > > "Robin" == Robin Hankin <[EMAIL PROTECTED]> > > on Wed, 31 Aug 2005 08:09:15 +0100 writes: > > Robin> Hi it says in R-exts that > > 1) A method must have all the arguments of the generic, >including

Re: [Rd] generic function argument list problem

2005-08-31 Thread Jari Oksanen
On Wed, 2005-08-31 at 08:09 +0100, Robin Hankin wrote: > Hi > > it says in R-exts that > > > A method must have all the arguments of the generic, > including ... if the generic does. > A method must have arguments in exactly the same order as the > generic. > A method should u

Re: [Rd] generic function argument list problem

2005-08-31 Thread Martin Maechler
> "Robin" == Robin Hankin <[EMAIL PROTECTED]> > on Wed, 31 Aug 2005 08:09:15 +0100 writes: Robin> I am writing a rep() method for objects with class "octonion", and Robin> my function rep.octonion() has argument list (x, times, length.out, Robi

Re: [Rd] generic function argument list problem

2005-08-31 Thread Martin Maechler
> "Robin" == Robin Hankin <[EMAIL PROTECTED]> > on Wed, 31 Aug 2005 08:09:15 +0100 writes: Robin> Hi it says in R-exts that 1) A method must have all the arguments of the generic, including ... if the generic does. 2) A method must have arguments in exactly the s

[Rd] generic function argument list problem

2005-08-31 Thread Robin Hankin
Hi it says in R-exts that A method must have all the arguments of the generic, including ... if the generic does. A method must have arguments in exactly the same order as the generic. A method should use the same defaults as the generic. So, how come the arguments for rep()