[Rcpp-devel] RInside destructor not working properly?

Christian Sigg christian at sigg-iten.ch
Mon Aug 27 17:52:27 CEST 2012


> Fingers are pointing to the R end of things, rather than the RInside wrapping
> of it.  If this can be improved, great.

To verify, executing

#include <Rembedded.h>
int main(int argc, char **argv) {
    
    Rf_initEmbeddedR(argc, argv);
    Rf_endEmbeddedR(0);
    
    
    Rf_initEmbeddedR(argc, argv);
    Rf_endEmbeddedR(0);
    
    return 0;
}

results in the same series of error messages. 

This issue was already posted to the R-devel mailing list in 2009, but there was no follow up. I will ask again and see if I get a response.

Best regards
Christian


More information about the Rcpp-devel mailing list