search for: activebinding

Displaying 4 results from an estimated 4 matches for "activebinding".

2009 Jun 29
1
active bindings and ls.str
Hello, Should active binding appear as such in ls.str. > makeActiveBinding( "xx", function(arg){ Sys.sleep(10) }, .GlobalEnv ) > ls.str() # takes 10 seconds xx : NULL What we see here is the result of the "setter" of the binding. I'm attaching a patch that prints this instead: > ls.str() xx : <active binding> Although a better be...
2007 Sep 10
0
new package 'trackObjs' - mirror objects to files, provide summaries & modification times
...ies of objects. Each object is stored in a separate RData file using the standard format as used by 'save()', so that objects can be manually picked out of or added to the trackObjs database if needed. Tracking works by replacing a tracked variable by an 'activeBinding', which when accessed looks up information in an associated 'tracking environment' and reads or writes the corresponding RData file and/or gets or assigns the variable in the tracking environment. Details: There are three main reasons to use the 'trackObjs&...
2007 Sep 10
0
new package 'trackObjs' - mirror objects to files, provide summaries & modification times
...ies of objects. Each object is stored in a separate RData file using the standard format as used by 'save()', so that objects can be manually picked out of or added to the trackObjs database if needed. Tracking works by replacing a tracked variable by an 'activeBinding', which when accessed looks up information in an associated 'tracking environment' and reads or writes the corresponding RData file and/or gets or assigns the variable in the tracking environment. Details: There are three main reasons to use the 'trackObjs&...
2005 May 06
4
How to understand packages, namespaces, environments
I would be very glad of pointers to information on how the concepts of packages, namespaces and environments are interrelated in R. I am trying to get a handle on this both so I can delve further into understanding other people's code and so I can organize my own in a more coherent manner. From my reading about environments it seems they function as what I would intuitively call