Re: [R] package documentation of S4 methods

2011-09-20 Thread Hassaan Aamir
El Gorgonzola hotmail.com> writes: > My question: how do you document methods of S4-classes in a package? > It works fine for the method "show" but it does not work for "showall", > for which I had to define the generic function first. What can I do to > fix this, or is it better to just define

[R] package documentation of S4 methods

2009-09-17 Thread El Gorgonzola
Hi, I'm new to this mailing list and to R-programming so if the question is stupid I apologize. I have to create a package, which includes an S4-class called "BList". For objects of this class I implemented a method "show", which displays the first 15 data-lines of the object. I further imple