I think there isn't a way to make this work other than calling `is.na<-`
explicitly:
x <- b$`is.na<-`(x, TRUE)
It seems like a reasonable suggestion to make
b$is.na(x) <- TRUE
work as long as b is an environment.
If you wanted it to work when b was a list, it would be more problematic
b
Hello all,
I am wondering whether it’s at all possible to call a replacement function
in a custom environment. From my experiments this appears not to be the
case, and I am wondering whether that restriction is intentional.
To wit, the following works:
x = 1
base::is.na(x) = TRUE
However, the f