Skip to content

Additional ARMA_64BIT_WORD support #454

Description

@eddelbuettel

ARMA_64BIT_WORD is useful for extended ranges and longer indices beyond the scope of a 32-bit integer. A reverse-dependency check is revealing that we cannot enforce it as a few dozen packages fail.

Activity

  1. eddelbuettel commented on Oct 10, 2024

    @eddelbuettel
    MemberAuthor

    Setting ARMA_64BIT_WORD turns ints into long long which cannot map (as easily) back to R. Packages using integer vectors in Armadillo (ie arma::ivec) then have issues. A reverse-dependency check revealed a few dozen affected packages. While this is only a small subset of the well over 1000 packages using RcppArmadillo it still means we cannot easily or automatically switch this and need to keep it as an opt-in for users.

  2. ttraboue commented on Mar 17, 2025

    @ttraboue

    how to switch to ARMA_64BIT_WORD so ?

  3. eddelbuettel commented on Mar 17, 2025

    @eddelbuettel
    MemberAuthor

    By setting a #define

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions