search for: fnmon

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

Did you mean: nmon
2009 Oct 30
0
environment or other technique to isolate some private working information
In order to instrument functions for optimization or DE solving etc., I want to set up a private ensemble of working data somewhere in my workspace that won't collide with the problem-data. I can do this already with named objects within .GlobalEnv, but I'd like to have functions like fnmon.setup<-function( etc. ) { ... # create an environment monenv<-new.env(baseenv()) # then create some names in the monenv for a file of data to be written, # some counters, timers etc. } and within my function call a function fnmon.next<- ... that gets the appropriate infomation...