search for: showstack

Displaying 3 results from an estimated 3 matches for "showstack".

Did you mean: show_stack
2016 Dec 12
2
why does parent.frame() cycle when called from inside capture.output()?
Hello R devel/help, I ran into this strange behavior: # showstack is supposed to walk through the stack of parent # environments when it is called: showstack = function() { env = environment() for(i in 1:12) { env = do.call(parent.frame, list(), env=env) print(env) } } # a simple chain of functions: g3=functi...
2016 Dec 12
2
why does parent.frame() cycle when called from inside capture.output()?
Hello R devel/help, I ran into this strange behavior: # showstack is supposed to walk through the stack of parent # environments when it is called: showstack = function() { env = environment() for(i in 1:12) { env = do.call(parent.frame, list(), env=env) print(env) } } # a simple chain of functions: g3=functi...
2016 Dec 12
0
[RE: why does parent.frame() cycle when called from inside capture.output()?]
...ject.org] on behalf of frederik at ofb.net [frederik at ofb.net] Sent: 12 December 2016 16:54 To: r-devel at r-project.org Cc: r-help at r-project.org Subject: [Rd] why does parent.frame() cycle when called from inside capture.output()? Hello R devel/help, I ran into this strange behavior: # showstack is supposed to walk through the stack of parent # environments when it is called: showstack = function() { env = environment() for(i in 1:12) { env = do.call(parent.frame, list(), env=env) print(env) } } # a simple chain of functions: g3=functi...