[Rd] C-API: removing key-value pairs in an environment
lgautier at gmail.com
Wed Jul 16 05:18:01 CEST 2014
I was hoping that there was an alternative since last time I looked (I
was calling R's "rm()" - I am seeing with the example that I can narrow
it down to the .Internal "remove").
On 07/15/2014 10:43 PM, Gábor Csárdi wrote:
> It seems that this is not part of the C API, and you need to call back
> to R. Here is how Rcpp does it:
> On Tue, Jul 15, 2014 at 10:24 PM, Laurent Gautier <lgautier at gmail.com> wrote:
>> I am trying to remove key-value pairs from an environments (using C).
>> While adding seems straightforward with `Rf_defineVar()`, I cannot find a
>> function to remove objects from a given environment.
>> Would anyone know if there is such a function ?
>> R-devel at r-project.org mailing list
More information about the R-devel