[Rcpp-devel] Unit test fails in RcppArmadillo
cubranic at stat.ubc.ca
Fri Mar 19 22:56:44 CET 2010
The unit test runs fine with Armadillo version 0.9.4.
On 2010-03-19, at 1:09 PM, Davor Cubranic wrote:
> On 2010-03-19, at 11:06 AM, Romain Francois wrote:
>> 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.
>> If you use the current svn version of RcppArmadillo, you also need the current svn version of Rcpp. Is this what you are using ?
> Yes, I checked them out together.
>> It runs fine for me under snow leopard too, although with armadillo version 0.9.2
> I'll try to determine exactly what line in the test throws the error.
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
More information about the Rcpp-devel