[Rcpp-devel] Unit test fails in RcppArmadillo

Romain Francois romain at r-enthusiasts.com
Fri Mar 19 19:06:18 CET 2010


Le 19/03/10 18:50, Davor Cubranic a écrit :
>
> I get the following error when running unit tests for the current SVN head of RcppArmadillo:
>
> Executing test function test.wrap.R  ...
> run-time error: Mat::init(): can't change the amount of memory as auxiliary memory is in use
>
> This is on OS X Snow Leopard with R 2.10.1 and libArmadillo 0.9.0.
>
> Looking at the code, I'm not sure where the error is coming from, since I can't see any Armadillo objects that are being obviously resized.
>
> Davor

If you use the current svn version of RcppArmadillo, you also need the 
current svn version of Rcpp. Is this what you are using ?

It runs fine for me under snow leopard too, although with armadillo 
version 0.9.2

Romain

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7
`- http://tr.im/O1wO : highlight 0.1-5



More information about the Rcpp-devel mailing list