[Rd] internal manipulation of ...

Romain François romain at r-enthusiasts.com
Fri Dec 13 00:18:54 CET 2013


Le 13 déc. 2013 à 00:15, Simon Urbanek <simon.urbanek at r-project.org> a écrit :

> 
> On Dec 12, 2013, at 3:32 PM, Romain François <romain at r-enthusiasts.com> wrote:
> 
>> Hello, 
>> 
>> I’m looking for examples on how to manipulate the ... internally, e.g. in a .Call or .External function. 
>> 
>> I’m particularly interested in accessing the environment in which each contribution to ... can be evaluated. 
>> 
> 
> Arguments in ... are evaluated *before* being passed down to .Call/.External so there is no ... by the time you enter the C code. AFAIR R doesn't allow you to get at the promises outside of internal code, so you either get the call or the values, but nothing in between.
> 
> Cheers,
> Simon

Thanks. That confirms what I feared. 
Back at low level manipulation of call stack and frame stack then. :/

Romain


More information about the R-devel mailing list