Re: [R] .Rd file for S4-method warning

2010-12-21 Thread Mark Heckmann
Hi Duncan, thanks for the quick answer! Oops, I have really overseen the correct argument specs... In the beginning roxygen did not support S4 but by now it does. The usage line is created automatically by roxygen in this case (only when using S4 classes and I am not sure when and when not). No

Re: [R] .Rd file for S4-method warning

2010-12-20 Thread Duncan Murdoch
On 20/12/2010 5:18 PM, Mark Heckmann wrote: Dear R users, I want to create a proper .Rd file for the show method for an S4 class. I am encountering problems in the \usage{} line, I guess. An example: setClass("testClass", representation(a="character")) setMethod("show", "testClass", f

[R] .Rd file for S4-method warning

2010-12-20 Thread Mark Heckmann
Dear R users, I want to create a proper .Rd file for the show method for an S4 class. I am encountering problems in the \usage{} line, I guess. An example: setClass("testClass", representation(a="character")) setMethod("show", "testClass", function(object){ }) The .Rd file: \name{show