Database-Backed Matrix Classes and Operations
Overview
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.
Install
Health
- OK13 OK2026-09-29
- ERROR12 OK, 1 ERROR2026-09-04
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK6 OK2026-05-20
Documentation
- Help pages
- 45 (15 internal)
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 10%
- Documented parameters
- 92%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- Arithmetic HTML
- Operations HTML
- Overview HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Commits over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/dbverse-org/dbmatrix-r on 2026-10-11.
GitHub Pages site last deployed 2026-07-22 · The repository has a site deploy workflow
pkgdown site last built 2026-07-22
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-04-29Commits: at least 6 crediting it in the message
Dependencies
Installing dbMatrix adds 50 packages (32 with compiled code, 45 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, duckdb 4.6 MB. 1 more not on CRAN is not measured.
Code & Tests
Datasets
People & History
- 0.1.0Latest2026-05-19 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-05-19
- Total releases
- 1 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 602 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("dbMatrix")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-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.