The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.

dbMatrix: Database-Backed Matrix Classes and Operations

Provides S4 classes and methods for storing dense and sparse matrices in 'DuckDB' databases. The package supports constructing database-backed matrices from base R and 'Matrix' objects, extracting slices and summaries, performing arithmetic and selected linear algebra operations, and materializing results for larger-than-memory workflows. It integrates with 'dbProject' to keep database paths, live connections, and lazy matrix tables synchronized across interactive analyses.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: Matrix (≥ 1.6-5), MatrixGenerics (≥ 1.12.3), methods, DBI, dplyr, dbplyr, duckdb (≥ 1.4.0), data.table (≥ 1.12.2), glue, bit64, cli, Rcpp, arrow, nanoarrow, dbProject, rlang
LinkingTo: Rcpp, RcppEigen, RSpectra, nanoarrow
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), irlba, crayon, R.utils, checkmate, reticulate, sparseMatrixStats, RSpectra
Published: 2026-05-19
DOI: 10.32614/CRAN.package.dbMatrix (may not be active yet)
Author: Edward C. Ruiz ORCID iD [aut, cre], Jiaji George Chen [aut], Ruben Dries [aut]
Maintainer: Edward C. Ruiz <ecr7407 at gmail.com>
BugReports: https://github.com/dbverse-org/dbmatrix-r/issues
License: GPL-3
URL: https://github.com/dbverse-org/dbmatrix-r, https://dbverse-org.github.io/dbmatrix-r/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: dbMatrix results

Documentation:

Reference manual: dbMatrix.html , dbMatrix.pdf
Vignettes: Arithmetic (source, R code)
Operations (source, R code)
Overview (source, R code)

Downloads:

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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dbMatrix 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.
Health stats visible at Monitor.