Re: [R] S4 programming

2010-02-25 Thread Henrique Dallazuanna
Try this: x...@y On Thu, Feb 25, 2010 at 11:12 PM, Zhang,Yanwei wrote: > > Dear all, > > I'm new to S4 classes and have a question on this. I want to use S4 because I > want to define explicitly the slots that the new class can have. But other > than that, the new class behaves exactly like a

[R] S4 programming

2010-02-25 Thread Zhang,Yanwei
Dear all, I'm new to S4 classes and have a question on this. I want to use S4 because I want to define explicitly the slots that the new class can have. But other than that, the new class behaves exactly like a list. But this will not allow me to use the generic functions that are already defi