Skip to content

rsparse

0.5.3Package record

Statistical Learning on Sparse Matrices

1packages dependsuggested by 2
190.2Kdownloads / year
72.1%test coverage
11/13flavors OK

Overview

About

Implements many algorithms for statistical learning on sparse matrices - matrix factorizations, matrix completion, elastic net regressions, factorization machines. Also 'rsparse' enhances 'Matrix' package by providing methods for multithreaded <sparse, dense> matrix products and native slicing of the sparse matrices in Compressed Sparse Row (CSR) format. List of the algorithms for regression problems: 1) Elastic Net regression via Follow The Proximally-Regularized Leader (FTRL) Stochastic Gradient Descent (SGD), as per McMahan et al(, doi:10.1145/2487575.2488200) 2) Factorization Machines via SGD, as per Rendle (2010, doi:10.1109/ICDM.2010.127) List of algorithms for matrix factorization and matrix completion: 1) Weighted Regularized Matrix Factorization (WRMF) via Alternating Least Squares (ALS) - paper by Hu, Koren, Volinsky (2008, doi:10.1109/ICDM.2008.22) 2) Maximum-Margin Matrix Factorization via ALS, paper by Rennie, Srebro (2005, doi:10.1145/1102351.1102441) 3) Fast Truncated Singular Value Decomposition (SVD), Soft-Thresholded SVD, Soft-Impute matrix completion via ALS - paper by Hastie, Mazumder et al. (2014, doi:10.48550/arXiv.1410.2596) 4) Linear-Flow matrix factorization, from 'Practical linear models for large-scale one-class collaborative filtering' by Sedhain, Bui, Kawale et al (2016, ISBN:978-1-57735-770-4) 5) GlobalVectors (GloVe) matrix factorization via SGD, paper by Pennington, Socher, Manning (2014, https://aclanthology.org/D14-1162/) Package is reasonably fast and memory efficient - it allows to work with large datasets - millions of rows and millions of columns. This is particularly useful for practitioners working on recommender systems.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from:
  ‘MatrixExtra’
All declared Imports should be used.

CRAN check page ↗

Slowest check: 7.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-10-17
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-10-15
  • NOTE10 OK, 4 NOTE2026-04-22
  • ERROR9 OK, 4 NOTE, 1 ERROR2026-04-18
  • NOTE10 OK, 4 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.5.3
READMEYes · 828 wordsVignettesNoNEWSYes · 100% structured · does not mention 0.5.3Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
13 (2 internal)
Examples that run
100%8 run in a plain check
Exported functions with examples
80%
Documented parameters
100%
Return-value docs
10%
Help pages citing references
31%

Downloads

190.2K
CRAN downloads in the past year
Rank #1,686 · ~521/day · ~15.9K/mo
Daily download trend is not available in this view yet.
4.3K30 days
12.9K90 days
190.2K1 year
Compare downloads with other packages →
Also on758 r2u4 autocran4.2K conda_forge136 c2d4u

Repository

181Stars
31Forks
7Open issues
3Open PRs
0Releases
350Commits
6Commit identities
collaborative-filteringrecommender-systemrmatrix-factorizationmatrix-completionfactorization-machinessvdsparse-matrices
350 commits · Last activity 2025-02-17 · +0.6% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
88%
Median days to close, 50 most recently updated closed issues
13
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-09-22 · 1782026-10-19 · 181
PracticesBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/dselivanov/rsparse on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, and on R-devel

Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing rsparse adds 8 packages (6 with compiled code, 11 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, float 1.3 MB.

Depends (3)
R >= 3.6.0methodsMatrix
LinkingTo (2)
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
21indirect
Imports 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 0.3.3 (2019), Copyright holder
Contributor
configure script and work on linking to float package
Contributor · added in 0.5.0
Contributor
configure script for BLAS, LAPACK detection
Releases (10)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.3Latest
    record
    2025-02-17 · current release · diff ↗
  • 0.5.2
    record
    2024-06-28 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5.1
    record
    2022-09-12 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.5.0
    record
    2021-11-30 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.0
    record
    2020-04-01 · diff ↗ ·
    added 1 export
    ScaleNormalize
  • 0.3.3.4
    record
    2019-11-14 · diff ↗
  • 0.3.3.3
    record
    2019-08-04 · diff ↗
  • 0.3.3.2
    record
    2019-07-18 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
Show 3 earlier eventsHide 3 earlier events
  • 0.3.3.1
    record
    2019-04-14 · diff ↗
  • 0.3.3
    record
    2019-04-12
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2019-04-12
Total releases
10 / 7 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6.0
Bundled data
98 KB / 1 file
Download size
210 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rsparse")
Selivanov, D., Chen, W., Cortes, D., & Schmidt, D. (2025). rsparse: Statistical Learning on Sparse Matrices (Version 0.5.3) [Computer software]. https://doi.org/10.32614/CRAN.package.rsparse

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 rsparse version 0.5.3 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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