Package: arrangements 1.1.9

arrangements: Fast Generators and Iterators for Permutations, Combinations, Integer Partitions and Compositions

Fast generators and iterators for permutations, combinations, integer partitions and compositions. The arrangements are in lexicographical order and generated iteratively in a memory efficient manner. It has been demonstrated that 'arrangements' outperforms most existing packages of similar kind. Benchmarks could be found at <https://randy3k.github.io/arrangements/articles/benchmark.html>.

Authors:Randy Lai [aut, cre]

arrangements_1.1.9.tar.gz
arrangements_1.1.9.zip(r-4.5)arrangements_1.1.9.zip(r-4.4)arrangements_1.1.9.zip(r-4.3)
arrangements_1.1.9.tgz(r-4.4-x86_64)arrangements_1.1.9.tgz(r-4.4-arm64)arrangements_1.1.9.tgz(r-4.3-x86_64)arrangements_1.1.9.tgz(r-4.3-arm64)
arrangements_1.1.9.tar.gz(r-4.5-noble)arrangements_1.1.9.tar.gz(r-4.4-noble)
arrangements_1.1.9.tgz(r-4.4-emscripten)arrangements_1.1.9.tgz(r-4.3-emscripten)
arrangements.pdf |arrangements.html
arrangements/json (API)

# Install 'arrangements' in R:
install.packages('arrangements', repos = c('https://randy3k.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/randy3k/arrangements/issues

Uses libs:
  • gmp– Multiprecision arithmetic library

On CRAN:

gmp

7.77 score 52 stars 23 packages 118 scripts 2.8k downloads 16 exports 2 dependencies

Last updated 2 years agofrom:607f8f366b. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 24 2025
R-4.5-win-x86_64OKJan 24 2025
R-4.5-linux-x86_64OKJan 24 2025
R-4.4-win-x86_64OKJan 24 2025
R-4.4-mac-x86_64OKJan 24 2025
R-4.4-mac-aarch64OKJan 24 2025
R-4.3-win-x86_64OKJan 24 2025
R-4.3-mac-x86_64OKJan 24 2025
R-4.3-mac-aarch64OKJan 24 2025

Exports:combinationsCombinationscompositionsCompositionsicombinationsicompositionsipartitionsipermutationsncombinationsncompositionsnpartitionsnpermutationspartitionsPartitionspermutationsPermutations

Dependencies:gmpR6