Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix size issue #20

Open
seonghobae opened this issue Sep 10, 2020 · 1 comment
Open

Matrix size issue #20

seonghobae opened this issue Sep 10, 2020 · 1 comment

Comments

@seonghobae
Copy link

seonghobae commented Sep 10, 2020

Hello,

I met a error message what about matrix size issue.

error: Mat::init(): requested size is too large; suggest to compile in C++11 mode and/or enable ARMA_64BIT_WORD

Anybody can check out this issue?
I saw https://stackoverflow.com/questions/40592054/large-matrices-in-rcpparmadillo-via-the-arma-64bit-word-define this article.

Best,
Seongho

@coatless
Copy link
Contributor

@seonghobae thanks for raising the issue.

I'm hesitant to apply -DARMA_64BIT_WORD without a little context on the data it is being applied to:

  1. What k value are you trying?
  2. How big is the item matrix?

I say this because there isn't a lot of plumbing on R's side to easily hand the long long indices that accompany a matrix defined as such. c.f. http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2014-December/008293.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants