powered by
A lens into the environment of an object. This is the lens version of environment and environment<-
env_l
An object of class lens of length 2.
lens
# NOT RUN { x <- 10 f <- (function(){x <- 2; function() x + 1})() f f() view(f, env_l)$x g <- over(f, env_l, parent.env) g() # }
Run the code above in your browser using DataLab