search for: nestedfun

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

2009 Nov 03
1
likely bug in 'serialize' or please explain the memory usage
...all(x, innerfun) # output: length FUN=106; length DAT=8000022 ## test run from within a function outerfun1 = function(x) mycall(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",...