[R] Generic mixup?

2011-03-04 Thread Nick Sabbe
Hello list. This is from an R session (admittedly, I'm still using R 2.11.1): print function (x, ...) UseMethod(print) environment: namespace:base showMethods(print) Function print: not a generic function Don't the two results contradict each other? Or do I have a terrible

Re: [R] Generic mixup?

2011-03-04 Thread Ista Zahn
Hi Nick, I think showMethods is for s4 classes (which I know nothing about). I think you want methods(print) Best, Ista On Fri, Mar 4, 2011 at 10:14 AM, Nick Sabbe nick.sa...@ugent.be wrote: Hello list. This is from an R session (admittedly, I'm still using R 2.11.1): print function

Re: [R] Generic mixup?

2011-03-04 Thread Francisco Gochez
Hi Nick, There is a difference between the newer S4 generic functions/methods and S3 generic functions. See for example: methods(print) showMethods(show) ?Methods HTH, -Francisco On Fri, Mar 4, 2011 at 10:14 AM, Nick Sabbe nick.sa...@ugent.be wrote: Hello list. This is from an R

Re: [R] Generic mixup?

2011-03-04 Thread Uwe Ligges
On 04.03.2011 11:14, Nick Sabbe wrote: Hello list. This is from an R session (admittedly, I'm still using R 2.11.1): print function (x, ...) UseMethod(print) environment: namespace:base showMethods(print) Function print: not a generic function Don't the two results