Skip to content

MatrixExtra

0.1.15Package record

Extra Methods for Sparse Matrices

4packages dependsuggested by 4
201.8Kdownloads / year
70.0%test coverage
13/13flavors OK

Overview

About

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: 6.9 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.1.15
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

201.8K
CRAN downloads in the past year
Rank #1,642 · ~553/day · ~16.8K/mo
Daily download trend is not available in this view yet.
4.2K30 days
13.6K90 days
201.8K1 year
Compare downloads with other packages →
Also on924 r2u5 autocran3.9K conda_forge120 c2d4u

Repository

23Stars
4Forks
2Open issues
0Open PRs
0Releases
109Commits
4Commit identities
sparse-matrixcsrr
License file reads as GPL-3.0 · 109 commits · Last activity 2026-06-15 · 0% stars, 30d
Responsiveness
How these are sampled
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

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

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.

Lint, format, editor (1)
RStudio project
Git structural (1)
Submodules
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

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.

Depends (2)
Matrixmethods
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
4direct
22indirect
Depends 1 · Imports 3
Suggested by 4
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (6)
Author, Maintainer since 0.1.2 (2021), Copyright holder
Copyright holder · added in 0.1.10
Copyright holder of mathematical functions used by base R which were copied
Copyright holder · added in 0.1.6
Copyright holder of included robinmap library
Copyright holder · added in 0.1.10
Copyright holder of mathematical functions used by base R which were copied
Copyright holder · added in 0.1.8
Copyright holder of 'Matrix' package from which some code was taken
Copyright holder
Releases (14)

Pick two releases to compare their code metrics.

Show 5 earlier eventsHide 5 earlier events
  • 0.1.5
    record
    2021-06-22 · diff ↗
  • 0.1.4
    record
    2021-05-18 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.2
    record
    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

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

APA

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

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.

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