search for: unbound_valu

Displaying 1 result from an estimated 1 matches for "unbound_valu".

Did you mean: unbound_value
2013 Aug 18
1
How does R_UnboundValue and removing variables work?
...ver in variable lookup. viz. the section of R Internals "Hash tables" says "items are not actually deleted but have their value set to R_UnboundValue.", which seems to align with what I read in envir.c. So, I reasoned, if I have a function that returns R_UnboundValue, like so: unbound_value <- function() .Call("unbound_value") SEXP unbound_value() { return R_UnboundValue; } then calling x <- unbound_value() ought to make "x" unbound. [spare me from saying this is a bad idea--I'm just trying to understand what's going on.] But it seems to only...