glmbayesCore: Core C++ Sampling Engine for 'glmbayes'

Core C++ engine for 'glmbayes': envelope-based iid linear and generalized linear model samplers, prior-family routing, and optional 'OpenCL' acceleration. Sampling for supported non-conjugate models uses accept-reject methods based on likelihood subgradients as in Nygren and Nygren (2006) <doi:10.1198/016214506000000357>. Intended as a developer backend for the 'glmbayes' formula interface; end users should use 'glmbayes' for modelling with interfaces analogous to 'lm' and 'glm'. Mixed-model engines are planned for a future release.

Version: 0.5.3
Depends: MASS, R (≥ 3.5.0)
Imports: stats, Rcpp (≥ 1.1.1), RcppParallel, Rdpack (≥ 0.11-0), opencltools (≥ 0.8.1), nmathopencl
LinkingTo: Rcpp, RcppArmadillo, RcppParallel, opencltools
Suggests: glmbayes, coda, bayesrules, bayestestR, LearnBayes, testthat (≥ 3.0.0), spelling, knitr, rmarkdown
Published: 2026-08-05
DOI: 10.32614/CRAN.package.glmbayesCore (may not be active yet)
Author: Kjell Nygren [aut, cre], The R Core Team [ctb, cph] (R Mathlib sources, R stats modeling code, and derived/adapted routines), The R Foundation [cph] (Portions of R Mathlib and R source code), Ross Ihaka [ctb, cph] (R Mathlib and original R modeling infrastructure), Robert Gentleman [ctb, cph] (Portions of R Mathlib), Simon Davies [ctb] (Original R glm implementation), Morten Welinder [ctb, cph] (Portions of R Mathlib), Martin Maechler [ctb] (Portions of R Mathlib), The Khronos Group Inc [cph] (OpenCL API headers in inst/include/CL (Apache License 2.0))
Maintainer: Kjell Nygren <kjell.a.nygren at gmail.com>
BugReports: https://github.com/knygren/glmbayesCore/issues
License: GPL-2
Copyright: see file COPYRIGHTS
URL: https://github.com/knygren/glmbayesCore
NeedsCompilation: yes
SystemRequirements: Optional OpenCL support. If available, GPU acceleration will be used; otherwise, computation runs on CPU.
Language: en-US
Citation: glmbayesCore citation info
Materials: README, NEWS
CRAN checks: glmbayesCore results

Documentation:

Reference manual: glmbayesCore.html , glmbayesCore.pdf

Downloads:

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

Linking:

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