Skip to content

Support long vectors #55

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

Merged
merged 4 commits into from
May 27, 2018
Merged

Support long vectors #55

merged 4 commits into from
May 27, 2018

Conversation

rstub
Copy link
Contributor

@rstub rstub commented May 25, 2018

I have not tried to convert the two test cases from the issue into unit tests due to memory considerations.
(fixes #54)

rstub added 3 commits May 25, 2018 17:43
There is one remaining use of Rf_length where the dimensions are
checked. Long vectors support is not needed there.
The individual indices for matrices in R are of type int, but the
size is potentially larger than that. R_xlen_t is used for the product
of the number of ros and columns.
@rstub rstub changed the title Support long vectors (fixes #54) Support long vectors May 25, 2018
Copy link
Member

@eddelbuettel eddelbuettel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good at a first glance!

@eddelbuettel
Copy link
Member

No regression in a reverse depends check, so merging. Thanks for the PR.

@eddelbuettel eddelbuettel merged commit 70d14fc into RcppCore:master May 27, 2018
eddelbuettel added a commit that referenced this pull request May 27, 2018
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

Successfully merging this pull request may close these issues.

Long vectors are not supported
2 participants