Re: [Rd] Using substitute to access the expression related to a promise

2011-05-02 Thread Hadley Wickham
On Mon, May 2, 2011 at 9:10 AM, Duncan Murdoch wrote: > On 02/05/2011 9:53 AM, Hadley Wickham wrote: >> >> Hi all, >> >> The help for delayedAssign suggests that you can use substitute to >> access the expression associated with a promise, and the help for >> substitute says: "If it is a promise o

Re: [Rd] Using substitute to access the expression related to a promise

2011-05-02 Thread Gabor Grothendieck
On Mon, May 2, 2011 at 10:10 AM, Duncan Murdoch wrote: > On 02/05/2011 9:53 AM, Hadley Wickham wrote: >> >> Hi all, >> >> The help for delayedAssign suggests that you can use substitute to >> access the expression associated with a promise, and the help for >> substitute says: "If it is a promise

Re: [Rd] Using substitute to access the expression related to a promise

2011-05-02 Thread Duncan Murdoch
On 02/05/2011 9:53 AM, Hadley Wickham wrote: Hi all, The help for delayedAssign suggests that you can use substitute to access the expression associated with a promise, and the help for substitute says: "If it is a promise object, i.e., a formal argument to a function or explicitly created using

Re: [Rd] Using substitute to access the expression related to a promise

2011-05-02 Thread Gabor Grothendieck
On Mon, May 2, 2011 at 9:53 AM, Hadley Wickham wrote: > Hi all, > > The help for delayedAssign suggests that you can use substitute to > access the expression associated with a promise, and the help for > substitute says: "If it is a promise object, i.e., a formal argument > to a function or expli

[Rd] Using substitute to access the expression related to a promise

2011-05-02 Thread Hadley Wickham
Hi all, The help for delayedAssign suggests that you can use substitute to access the expression associated with a promise, and the help for substitute says: "If it is a promise object, i.e., a formal argument to a function or explicitly created using ‘delayedAssign()’, the expression slot of the