Re: [Rd] Substitute unaware when promise objects are evaluated

2013-05-15 Thread Duncan Murdoch
On 13-05-15 11:54 AM, McGehee, Robert wrote: R-devel, I used the 'substitute' function to create labels for objects inside an environment, without actually evaluating the objects, as the objects might be promises. However, I was surprised to see that 'substitute' returns the expression slot of

[Rd] Substitute unaware when promise objects are evaluated

2013-05-15 Thread McGehee, Robert
R-devel, I used the 'substitute' function to create labels for objects inside an environment, without actually evaluating the objects, as the objects might be promises. However, I was surprised to see that 'substitute' returns the expression slot of the original promise even after the promise h