Closed hadley closed 4 years ago
For the same reason this isn't an error:
e <- new.env()
e$x
# NULL
Changing the behavior would require adding a $.R6
method, but it would add a significant performance penalty.
Oh, right, I keep forgetting that we can't have a $
method 😞
It occurs to me that we might be able to make this fast by using object tables. Worth at least a small exploration.
object tables turn out to be fairly slow, so unlikely to be worth it.
Why isn't this an error?