-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle assignment into an environment #20
Comments
(now with proper formatting, stupid email reply...) This is doable. We can make it the default (although environments are are The default assign() handler is assignfunhandler:
We can add a check to see if the envir argument is set and if so, add it to
We can think about making this the default, but you can experiment with the Here is the definition of assignhandler2 in a useful (cut/paste-able) form:
-- |
Thanks @gmbecker, I'll use this. I imagine the pass by reference semantics complicates things significantly. |
In the following I'd like to know that the environment
e
was updated:This came up attempting to analyze the body of the
koRpus::set.kRp.env()
function which sets a bunch of variables in a private package environmentkoRpus:::.koRpus.env
.The text was updated successfully, but these errors were encountered: