search for: gete0

Displaying 2 results from an estimated 2 matches for "gete0".

Did you mean: get0
2015 Jan 27
0
Inspect a "delayed" assigned whose value throws an error?
...ly', and using L), can anyone find a shorter (or "nicer") way to achieve the same as gete(), or gete2(), i.e., return a list with the promise expressions and not evaluating e ? You are not allowed to use 'x', 'y', and 'z' explicitly of course, because here, gete0 <- function(e) list(substitute(x,e), substitute(y,e), substitute(z,e)) would be slightly shorter. Martin
2015 Jan 26
2
Inspect a "delayed" assigned whose value throws an error?
On Mon, Jan 26, 2015 at 12:24 PM, Hadley Wickham <h.wickham at gmail.com> wrote: > If it was any other environment than the global, you could use substitute: > > e <- new.env() > delayedAssign("foo", stop("Hey!"), assign.env = e) > substitute(foo, e) > > delayedAssign("foo", stop("Hey!")) > substitute(foo) Hmm... interesting