search for: barfunc

Displaying 1 result from an estimated 1 matches for "barfunc".

Did you mean: varfunc
2007 Jan 31
2
Problems with definitions of S4-generics
...rm related, and that it is most likely a bug. He suggested to post my report to "the appropriate mailing list" -- I choose r-devel. #### Problem-intro: ## Define two S4-classes setGeneric("foofunc", def=function(object) {standardGeneric("foofunc")}) setGeneric("barfunc", def=function(object) {standardGeneric("barfunc")}) #### Okay, let's start. #### Fist the correct part ## Do some tests to see if the generic is present, ## and have a look at some details isGeneric("foofunc") # [1] TRUE findFunction("foofunc") # [[1]] #...