Skip to content

[Rcpp-devel] Problem passing Armadillo objects back to R

2 messages · Christian Gunning, Romain Francois

#
Just to clarify -- in the case of a naive user who's not protecting
objects: a single wrap as the last call in a function is one case that
will *always* work as expected, correct? And when using more than one
wrap, later ones can *potentially* but not necessarily clobber earlier
ones, yes?

thanks,
-christian
#
Le 07/04/11 05:07, Christian Gunning a ?crit :
I think you are right.
This is what makes it difficult to detect. You never know when garbage 
is being collected.