Displaying 1 result from an estimated 1 matches for "envflags".
2018 Oct 10
1
unlockEnvironment()?
...function, R_LockEnvironment, but, as far as
I can tell, no corresponding function to unlock an environment. Is this
omission on principle or just something that has not been done yet?
I ask because several packages, including the well-used R6 and rlang
packages, fiddle with some bits in with SET_ENVFLAGS and ENVFLAGS to unlock
an environment. (See grep output below.)
About 5000 (1/3 of CRAN) packages depend on R6 or rlang. Should R supply a
more disciplined way of unlocking an environment?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
$ { find . -type f -print0 | xargs -0 grep -n -C 2 ENVFLAGS...