Re: [R] include S4 class and methods in a package

2008-06-28 Thread Charilaos Skiadas
On Jun 27, 2008, at 1:44 PM, baptiste Auguié wrote: DeaR list, Pardon the stupidity of this question but I've been trying this for a while now without success. I've followed the example given in the green book programming with data, and I now have a working example of a S4 class with a

Re: [R] include S4 class and methods in a package

2008-06-28 Thread baptiste Auguié
Thanks Haris, I eventually got this to work thanks to some off-list help and lots of trials and error. I have to admit I still don't understand all the details of the procedure (the generic paradigm in particular escapes me), but at least I have achieved a working example that I can alter

[R] include S4 class and methods in a package

2008-06-27 Thread baptiste Auguié
DeaR list, Pardon the stupidity of this question but I've been trying this for a while now without success. I've followed the example given in the green book programming with data, and I now have a working example of a S4 class with a few methods (plot, summary, as.data.frame). It's all