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

Qiang Kou qkou at umail.iu.edu
Mon Jul 10 08:22:56 CEST 2017


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>


More information about the Rcpp-devel mailing list