Rcpparmadillo: can't call Fortran routine “dgebal”?
问题 I need to use a Fortran routine called dgebal (documentation here) in my Rcpparmadillo code. I have included the following headers: # include <RcppArmadillo.h> # include <math.h> However, when I try to compile my code using sourceCpp() I get the following error: error: 'dgebal_' was not declared in this scope If I further include <R_ext/Lapack.h> and <R_ext/BLAS.h> , the code compiles without error and runs fine. However the compiler throws a bunch of warnings like this: C:/PROGRA~1/R/R-32~1