Displaying 1 result from an estimated 1 matches for "getto2".
Did you mean:
gettok
2008 Oct 24
1
changed behaviour of 'get' in 2.8.0: request for unchange
...reas in R2.7.1 this happens:
test> getto()
test>
i.e. a "missing" object.
While I can see some reason to the change, the error always would have gotten triggered eventually if it actually mattered-- and the new behaviour is inconsistent with other extraction functions:
test> getto2 <- function(x) sys.frame(1)$x
test> getto2()
test>
and the same goes for '[['.
'mget' also returns a missing object, rather than tripping an error.
The new 'get' breaks code in packages 'mvbutils' and 'debug'. At least 54 separate functions in th...