Re: [Rd] signature() and setMethod() problems

2007-06-28 Thread Prof Brian Ripley
On Thu, 28 Jun 2007, Martin Maechler wrote: >> "Robin" == Robin Hankin <[EMAIL PROTECTED]> >> on Thu, 28 Jun 2007 13:38:32 +0100 writes: > >Robin> I am having difficulty using signature(). I have one >Robin> virtual class (onion) and two nonvirtual classes >Robin> (quatern

Re: [Rd] signature() and setMethod() problems

2007-06-28 Thread Martin Maechler
> "Robin" == Robin Hankin <[EMAIL PROTECTED]> > on Thu, 28 Jun 2007 13:38:32 +0100 writes: Robin> I am having difficulty using signature(). I have one Robin> virtual class (onion) and two nonvirtual classes Robin> (quaternion and octonion). containing onion. Robin> I

[Rd] signature() and setMethod() problems

2007-06-28 Thread Robin Hankin
I am having difficulty using signature(). I have one virtual class (onion) and two nonvirtual classes (quaternion and octonion). containing onion. I want to define three distinct sets of arithmetic operations: one for onion-onion, one for onion-real, and one for real-onion [this is more computat