The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

fastglm: Fast and Stable Fitting of Generalized Linear Models using 'RcppEigen'

Fits generalized linear models efficiently using 'RcppEigen'. The iteratively reweighted least squares implementation utilizes the step-halving approach of Marschner (2011) <doi:10.32614/RJ-2011-012> to help safeguard against convergence issues. Provides formula and matrix interfaces for count and cumulative-link ordinal models, mean bias reduction, and fitting from data read in blocks of rows for supported model classes.

Version: 0.1.4
Depends: R (≥ 4.1.0)
Imports: Rcpp (≥ 0.12.13), bigmemory, methods, Matrix, Formula
LinkingTo: Rcpp, RcppEigen, BH, bigmemory
Suggests: glm2, knitr, rmarkdown, testthat (≥ 3.1.7), sandwich, microbenchmark, MASS, statmod, logistf, brglm2, pscl, speedglm, tweedie, ggplot2, broom, DBI, RSQLite, numDeriv, arrow
Published: 2026-11-11
DOI: 10.32614/CRAN.package.fastglm
Author: Jared Huling [aut, cre], Douglas Bates [cph], Dirk Eddelbuettel [cph], Romain Francois [cph], Yixuan Qiu [cph], Noah Greifer ORCID iD [ctb]
Maintainer: Jared Huling <jaredhuling at gmail.com>
BugReports: https://github.com/jaredhuling/fastglm/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/jaredhuling/fastglm, https://jaredhuling.org/fastglm/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: fastglm results

Documentation:

Reference manual: fastglm.html , fastglm.pdf
Vignettes: Benchmark Study for 'fastglm' (source)
Count regression, truncation, and excess zeros with fastglm (source, R code)
Models, inference, and computation with fastglm (source, R code)
Quick Usage Guide to the 'fastglm' Package (source, R code)
Firth Bias-Reduced GLMs with 'fastglm' (source, R code)
Large-data estimation and inference with fastglm (source, R code)
Negative Binomial Convergence: fastglm vs MASS (source)
Negative Binomial Stability Benchmark: fastglm vs MASS (source)
Ordered outcomes and cumulative-link models with fastglm (source, R code)
Two-part models for nonnegative continuous outcomes (source, R code)

Downloads:

Package source: fastglm_0.1.4.tar.gz
Windows binaries: r-devel: fastglm_0.1.4.zip, r-release: fastglm_0.1.4.zip, r-oldrel: fastglm_0.1.4.zip
macOS binaries: r-release (arm64): fastglm_0.1.4.tgz, r-oldrel (arm64): fastglm_0.1.4.tgz, r-release (x86_64): fastglm_0.1.4.tgz, r-oldrel (x86_64): fastglm_0.1.4.tgz
Old sources: fastglm archive

Reverse dependencies:

Reverse imports: crctStepdown, ddecompose, did, DRDID, FBMS, GWASinlps, HTRX, SEQTaRget, sffdr, simstudy, swaglm, triplediff
Reverse linking to: crctStepdown, simstudy
Reverse suggests: btergm, familiar, mfp2, parglm, plsRglm, registr

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.