Skip to content

MatrixExtra

0.1.15

Extra Methods for Sparse Matrices

8packages depend
319.7Kdownloads / year
70.0%test coverage
13/13checks pass

Overview

About
Maintained by David CortesFirst published 2021-05-1314 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 7.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.49
70.0%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

319.7K
CRAN downloads in the past year
Rank #1,587 · ~876/day · ~26.6K/mo
Daily download trend is not available in this view yet.
5.2K30 days
16.1K90 days
319.7K1 year
Compare downloads with other packages →
Also on1.3K r2u18 autocran3.9K conda_forge125 c2d4u

Repository

Repository
23Stars
4Forks
2Open issues
0Open PRs
0Releases
109Commits
4Contributors
sparse-matrixcsrr
License GPL-3.0 · 109 commits · Last activity 2026-06-15

Stars over time

2025-05-28 · 232026-07-07 · 23

Repository practices

Upstream repositoryBeta

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-08-16.

Lint, format, editor (1)
RStudio project
Git structural (1)
Submodules
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (2)
Matrixmethods
LinkingTo (1)
Enhances (0)
none

Code & Tests

People & History

People (6)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (6)
Author, Maintainer, Copyright holder
Copyright holder · added in 0.1.10
Copyright holder · added in 0.1.6
Copyright holder · added in 0.1.10
Copyright holder · added in 0.1.8
Copyright holder
Package Timeline

14 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.15Latest
    2024-01-22 · current release · diff ↗
  • 0.1.14
    2023-08-20 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.13
    2022-09-07 · diff ↗
  • 0.1.12
    2022-08-16 · diff ↗
  • 0.1.11
    2022-08-06 · diff ↗
  • 0.1.10
    2022-05-15 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.9-1
    2021-12-19 · diff ↗
  • 0.1.9
    2021-12-15 · diff ↗
  • 0.1.8
    2021-10-29 · diff ↗
  • 0.1.7
    2021-09-26 · diff ↗
  • 0.1.6
    2021-07-26 · diff ↗
Show 5 earlier events
  • 0.1.5
    2021-06-22 · diff ↗
  • 0.1.4
    2021-05-18 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.2
    2021-05-13
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-05-13
Total releases
14 / 5 yrs
License
GPL (>= 2) OSI
Download size
208 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MatrixExtra")
Cortes, D., Gentleman, R., Goetghebuer-Planchon, T., Ihaka, R., Maechler, M., & Selivanov, D. (2024). MatrixExtra: Extra Methods for Sparse Matrices (Version 0.1.15) [Computer software]. https://doi.org/10.32614/CRAN.package.MatrixExtra

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for MatrixExtra version 0.1.15 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy