Re: [Rd] eval a SYMSXP from C

2012-04-16 Thread Whit Armstrong
Thanks, Duncan. Your suggestion works. And thanks for the hint, about the env. I suppose I should preserve the env of the original function where the substitute was called... Cheers, Whit On Mon, Apr 16, 2012 at 8:01 PM, Duncan Murdoch wrote: > On 12-04-16 5:53 PM, Whit Armstrong wrote: >> >

Re: [Rd] eval a SYMSXP from C

2012-04-16 Thread Duncan Murdoch
On 12-04-16 5:53 PM, Whit Armstrong wrote: Can someone offer some advice on how to properly evaluate a SYMSXP from a .Call ? I have the following in R: variable xn, with an attribute "mu" which references the variable mu in the global environment. I know "references" is a loose term; mu was de