Skip to content
Prev 9646 / 10988 Next

[Rcpp-devel] A tough RcppArmadillo Error; address(nil) cause 'unknown' in R

In the ge-model.cpp, from line 216 to line 225, the *_rand* will be
initialized there.

These lines of code are part of the "initialize" function.

If you don't call the "initialize", the array won't be initialized and
cause a memory error in deconstructor.

Can we discuss off the list?

This really has nothing to do with Rcpp.

Best,

KK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20170709/a63a271d/attachment.html>