search for: flista

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

Did you mean: lista
2008 Jan 21
2
experiments with slot functions and possible problems NOTE
...st way to do this? - clutter the workspace with lots of functions? OR: - ignore "notes about possible problems" OR: - a third way? Thanks in advance Thomas P. An example: ##============================================================= ## 1) One possible "set of functions" flistA <- list( foo = function() { 1:10 }, bar = function() { log(foo()) } ) ## .. we may also have alternative sets, ## e.g. flistB, flistC, ... etc ## 2) Now we try to construct closures ## 2a) non-nested makefun1 <- function(flist) { with(flist, function() foo()...