search for: outerfun3

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

2009 Nov 03
1
likely bug in 'serialize' or please explain the memory usage
...x, innerfun) outerfun1(x) # output: length FUN=106; length DAT=8000022 ## test run from within a function, where function is defined within outerfun2 = function(x) { nestedfun = function(z) z mycall(x, nestedfun) } outerfun2(x) # output: length FUN=253; length DAT=8000022 setGeneric("outerfun3", function(x) standardGeneric("outerfun3")) ## define a method ## test run from within a method setMethod("outerfun3", "numeric", function(x) mycall(x, innerfun)) outerfun3(x) # output@ length FUN=106; length DAT=8000022 ## test run from within a method, whe...