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 <- cxxfunction( signature() , '
      arma::mat x = arma::randu(4, 4);
      arma::mat X = arma::trans(x)*x;
      arma::vec v = arma::eig_sym(X);
      return List::create( 
        _["X"] = X, 
        _["eigval"] = v
    ); 
    ', plugin = "RcppArmadillo" )

Davor
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to