[Rcpp-devel] RInside destructor not working properly?

Dirk Eddelbuettel edd at debian.org
Mon Aug 27 19:14:08 CEST 2012


On 27 August 2012 at 17:52, Christian Sigg wrote:
| > 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.

Good work, and good idea.  But as the R Core team has a very different focus
("start R once, get work done") this may once again fall through the cracks.
Now if you debugged it and suggested a fix to them they might take it. Dunno.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list