[Rcpp-devel] RInside destructor not working properly?

Christian Sigg christian at sigg-iten.ch
Wed Aug 29 17:07:53 CEST 2012

> I assume there must be a "nothing we can do about" reason why RInside
> works the way it does. So I wonder if you can create a global RInside
> instance using a global test environment call?
> http://code.google.com/p/googletest/wiki/AdvancedGuide#Global_Set-Up_and_Tear-Down

Thanks for the hint Darren, using a global test environment is a good work around. 

Creating a fresh RInside instance for each test would have the benefit of isolating the unit tests from each other. I'll see if I get a response from the R developers.


More information about the Rcpp-devel mailing list