Re: [Rd] Inspect a delayed assigned whose value throws an error?

2015-01-27 Thread Martin Maechler
Henrik Bengtsson h...@biostat.ucsf.edu on Mon, 26 Jan 2015 12:41:48 -0800 writes: On Mon, Jan 26, 2015 at 12:24 PM, Hadley Wickham h.wick...@gmail.com wrote: If it was any other environment than the global, you could use substitute: e - new.env()

Re: [Rd] Inspect a delayed assigned whose value throws an error?

2015-01-27 Thread Hadley Wickham
On Tue, Jan 27, 2015 at 8:56 AM, Martin Maechler maech...@lynne.stat.math.ethz.ch wrote: Henrik Bengtsson h...@biostat.ucsf.edu on Mon, 26 Jan 2015 12:41:48 -0800 writes: On Mon, Jan 26, 2015 at 12:24 PM, Hadley Wickham h.wick...@gmail.com wrote: If it was any other

Re: [Rd] Inspect a delayed assigned whose value throws an error?

2015-01-26 Thread Hadley Wickham
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) Hadley On Mon, Jan 26, 2015 at 12:53 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote: Hi,

Re: [Rd] Inspect a delayed assigned whose value throws an error?

2015-01-26 Thread Henrik Bengtsson
On Mon, Jan 26, 2015 at 12:24 PM, Hadley Wickham h.wick...@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...