Whether frame itself binds what ref reads whenever the read happens, so the read is resolved there and the caller of an evaluation in frame must not resolve it again in its own scope: x in with(list(x = 2), y <- x).
frame
ref
x
with(list(x = 2), y <- x)
Whether
frameitself binds whatrefreads whenever the read happens, so the read is resolved there and the caller of an evaluation inframemust not resolve it again in its own scope:xinwith(list(x = 2), y <- x).