Re: [Rd] Accessing ENVSXP and CLOSXP while processing parsed R code

2011-11-08 Thread Rob Anderson
Thanks! that was useful Rob On Mon, Nov 7, 2011 at 6:49 AM, Duncan Murdoch wrote: > On 11-11-07 5:24 AM, Rob Anderson wrote: > >> Hello Guys, >> >> Following up my earlier mail where I am trying to write an alternative >> front-end for R, I had a question about accessing the closures and >> env

Re: [Rd] Accessing ENVSXP and CLOSXP while processing parsed R code

2011-11-07 Thread Duncan Murdoch
On 11-11-07 5:24 AM, Rob Anderson wrote: Hello Guys, Following up my earlier mail where I am trying to write an alternative front-end for R, I had a question about accessing the closures and environments in R code. Here's the function taken and modified a little from "*Lexical Scope and Stati

[Rd] Accessing ENVSXP and CLOSXP while processing parsed R code

2011-11-07 Thread Rob Anderson
Hello Guys, Following up my earlier mail where I am trying to write an alternative front-end for R, I had a question about accessing the closures and environments in R code. Here's the function taken and modified a little from "*Lexical Scope and Statistical Computing*" ===