Factor Big Integers with the Parallel Quadratic Sieve
Overview
Features the multiple polynomial quadratic sieve (MPQS) algorithm for factoring large integers and a vectorized factoring function that returns the complete factorization of an integer. The MPQS is based off of the seminal work of Carl Pomerance (1984) doi:10.1007/3-540-39757-4_17 along with the modification of multiple polynomials introduced by Peter Montgomery and J. Davis as outlined by Robert D. Silverman (1987) doi:10.1090/S0025-5718-1987-0866119-8. Utilizes the C library GMP (GNU Multiple Precision Arithmetic). For smaller integers, a simple Elliptic Curve algorithm is attempted followed by a constrained version of Pollard's rho algorithm. The Pollard's rho algorithm is the same algorithm used by the factorize function in the 'gmp' package.
- Migrated from Rcpp to cpp11
- Fixed C++ requirements per new CRAN policy
- Added github actions
- Dropped RcppThread in favor of the standard library
From NEWS in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 4
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 75%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/jwood000/rcppbigintalgos on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing RcppBigIntAlgos adds 2 packages (1 with compiled code, 461 KB of source tarballs). Heaviest: cpp11 298 KB, gmp 163 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.0Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.12021-01-08 · diff ↗
- 1.0.0
- 0.3.42020-11-04 · diff ↗
- 0.3.32020-10-14 · diff ↗
- 0.3.1
- 0.2.42020-06-22 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.2.22020-04-23
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-04-23
- Total releases
- 8 / 6 yrs
- License
- GPL (>= 2) OSI
- Download size
- 49 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RcppBigIntAlgos")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.