[Rcpp-devel] segmentation fault when wrapping a big Eigen 2-d array

2018-04-09 Thread Wasey, Jack O
Dear Rcpp developers, I'm having trouble with a reproducible error when wrapping a big Eigen dense matrix. Rcpp::LogicalMatrix mat_out_bool = Rcpp::wrap(result); Thread 1 "R" received signal SIGSEGV, Segmentation fault. coerceToLogical (v=0x7fffa1a1c010) at coerce.c:441 Where 'result' is an

Re: [Rcpp-devel] segmentation fault when wrapping a big Eigen 2-d array

2018-04-09 Thread Dirk Eddelbuettel
On 9 April 2018 at 07:22, Wasey, Jack O wrote: | Dear Rcpp developers, | | I'm having trouble with a reproducible error when wrapping a big Eigen dense matrix. | | Rcpp::LogicalMatrix mat_out_bool = Rcpp::wrap(result); | | Thread 1 "R" received signal SIGSEGV, Segmentation fault. |

Re: [Rcpp-devel] segmentation fault when wrapping a big Eigen 2-d array

2018-04-09 Thread Jack Wasey
On Mon, Apr 09, 2018 at 07:09:55AM -0500, Dirk Eddelbuettel wrote: > > On 9 April 2018 at 07:22, Wasey, Jack O wrote: > | Dear Rcpp developers, > | > | I'm having trouble with a reproducible error when wrapping a big Eigen > dense matrix. > | > | Rcpp::LogicalMatrix mat_out_bool =