Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upLong vectors are not supported #54
Comments
|
A careful pull request would probably be looked upon favorably. You can look at @thirdwing 's work for these changes in Rcpp itself; this should be doable along the same lines. |
|
Ok, I am on it. Here is a second test case that would not be covered by #10:
Error message:
|
|
But isn't (Edit: Nope, I misremembered. |
|
It is of type ptrdiff_t:
|
Triggered by this SO question: https://stackoverflow.com/questions/50504929/rcppeigen-cannot-return-matrix-to-r-with-more-than-231-elements
Does it make sense to revisit #10 now that Rcpp supports long vectors? Example:
Output:
I am using RcppEigen 0.3.3.4.0 with R 3.5.0.