[R] S4 : dumpMethod

Christophe Genolini cgenolin at u-paris10.fr
Tue Mar 18 20:55:09 CET 2008


Hi the list,

I almost finished the green book (chapter 7 and 8 on S4), this is 
probably one of my last question :-)
I hope you will not miss them to much !

Here is my today nighmare: I do not manage to use dumpMethod :

setClass("A",representation(a="numeric"))
setMethod("plot","A",function(x,y,...){cat("AAAAA\n")})
dumpMethod("plot","A",file="")
#setMethod("plot", "A",
#NULL
#)
#[1] ""


Anything wrong in my code?

Christophe



More information about the R-help mailing list