coxstream: Memory-Efficient Cox Proportional Hazards via Streaming Newton-Raphson

Fits the Cox proportional hazards model using a single descending-order pass per Newton-Raphson iteration. Peak RAM is O(p^2) regardless of the number of rows, making it suitable for datasets that do not fit in memory. Produces identical coefficients to survival::coxph() with Efron tie correction.

Version: 0.1.0
Imports: Rcpp, survival
LinkingTo: Rcpp
Suggests: arrow, testthat (≥ 3.0.0)
Published: 2026-06-20
DOI: 10.32614/CRAN.package.coxstream (may not be active yet)
Author: Tommy Carstensen ORCID iD [aut, cre], Apache Software Foundation [cph, ctb] (vendored Arrow C Data/Stream interface header (src/arrow_c_abi.h), Apache-2.0)
Maintainer: Tommy Carstensen <cran at tommycarstensen.com>
BugReports: https://github.com/tommycarstensen/coxstream-r/issues
License: MIT + file LICENSE
Copyright: see file COPYRIGHTS
URL: https://github.com/tommycarstensen/coxstream-r
NeedsCompilation: yes
Materials: README
CRAN checks: coxstream results

Documentation:

Reference manual: coxstream.html , coxstream.pdf

Downloads:

Package source: coxstream_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): coxstream_0.1.0.tgz, r-oldrel (arm64): coxstream_0.1.0.tgz, r-release (x86_64): coxstream_0.1.0.tgz, r-oldrel (x86_64): coxstream_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=coxstream to link to this page.