Mystery solved: the culprit was an "#include " which was executed
before any "#include ". I'm not sure how this messed things
up, but my guess is that it was because there was an old installation of
Armadillo library in /usr/local/include, which was before RcppArmadillo in the
-I search path. T
I created a clean RcppArmadillo-based package using
RcppArmadillo.package.skeleton and edited the example .cpp file to call
arma::eig_sym. That works with no errors. Here is the output of 'otool -L' on
the generated .so file:
/Library/Frameworks/R.framework/Versions/2.10/Resources/lib/
On 2010-09-27, at 12:54 PM, Dirk Eddelbuettel wrote:
> On 27 September 2010 at 12:43, Davor Cubranic wrote:
> | After I upgraded to RcppArmadillo 0.2.6, running existing code that uses it
> throws the following error:
> |
> | run-time error: eig_sym(): need LAPACK
> |
> | Any idea what might be
On 27 September 2010 at 12:43, Davor Cubranic wrote:
| After I upgraded to RcppArmadillo 0.2.6, running existing code that uses it
throws the following error:
|
| run-time error: eig_sym(): need LAPACK
|
| Any idea what might be causing this? I'm trying to create a minimal code
needed to repro
After I upgraded to RcppArmadillo 0.2.6, running existing code that uses it
throws the following error:
run-time error: eig_sym(): need LAPACK
Any idea what might be causing this? I'm trying to create a minimal code needed
to reproduce the problem, and strangely enough, this works fine:
eig <-