Extra Methods for Sparse Matrices
Overview
Extends sparse matrix and vector classes from the 'Matrix' package by providing: (a) Methods and operators that work natively on CSR formats (compressed sparse row, a.k.a. 'RsparseMatrix') such as slicing/sub-setting, assignment, rbind(), mathematical operators for CSR and COO such as addition ("+") or sqrt(), and methods such as diag(); (b) Multi-threaded matrix multiplication and cross-product for many <sparse, dense> types, including the 'float32' type from 'float'; (c) Coercion methods between pairs of classes which are not present in 'Matrix', such as 'dgCMatrix' -> 'ngRMatrix', as well as convenience conversion functions; (d) Utility functions for sparse matrices such as sorting the indices or removing zero-valued entries; (e) Fast transposes that work by outputting in the opposite storage format; (f) Faster replacements for many 'Matrix' methods for all sparse types, such as slicing and elementwise multiplication. (g) Convenience functions for sparse objects, such as 'mapSparse' or a shorter 'show' method.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 21includes a package overview page
- Examples that run
- 100%14 run in a plain check
- Exported functions with examples
- 55%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
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
Issues over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/david-cortes/matrixextra on 2026-10-11.
Dependencies
Installing MatrixExtra adds 3 packages (3 with compiled code, 3.1 MB of source tarballs). Heaviest: Rcpp 1.8 MB, float 1.3 MB, RhpcBLASctl 41 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.1.15Latest
- 0.1.142023-08-20 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.1.132022-09-07 · diff ↗
- 0.1.122022-08-16 · diff ↗
- 0.1.112022-08-06 · diff ↗
- 0.1.102022-05-15 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.1.9-12021-12-19 · diff ↗
- 0.1.92021-12-15 · diff ↗
- 0.1.82021-10-29 · diff ↗
- 0.1.72021-09-26 · diff ↗
- 0.1.6
Package metadata
- First published
- 2021-05-13
- Total releases
- 14 / 5 yrs
- License
- GPL (>= 2) OSI
- Download size
- 208 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("MatrixExtra")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-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.