search for: file33765791

Displaying 1 result from an estimated 1 matches for "file33765791".

2011 Dec 05
1
RcppArmadillo compilation error: R CMD SHLIB returns status 1
...4: #include <Rcpp.h> 5: 6: 7: #ifndef BEGIN_RCPP 8: #define BEGIN_RCPP 9: #endif 10: 11: #ifndef END_RCPP 12: #define END_RCPP 13: #endif 14: 15: using namespace Rcpp; 16: 17: 18: // user includes 19: 20: 21: // declarations 22: extern "C" { 23: SEXP file33765791( SEXP a, SEXP e) ; 24: } 25: 26: // definition 27: 28: SEXP file33765791( SEXP a, SEXP e ){ 29: BEGIN_RCPP 30: 31: arma::mat coeff = Rcpp::as<arma::mat>(a); 32: arma::mat errors = Rcpp::as<arma::mat>(e); 33: int m = errors.n_rows; int n = errors.n_cols; 34: arm...