Closed rpruim closed 8 years ago
I don't think that's possible - that would introduce two stacks of environments.
Do you have a more realistic example? The whole point is avoid using parent.frame()
because it's not reliable.
Actually, I may be able to refactor to avoid this since f_capture(x)
will capture the environment and I can make the default value of data
be NULL
. I'll see if I can get that to work.
It would be nice if this worked: