Read and Write Sparse Matrices in 'SVMLight' and 'LibSVM' Formats
Overview
Read and write labelled sparse matrices in text format as used by software such as 'SVMLight', 'LibSVM', 'ThunderSVM', 'LibFM', 'xLearn', 'XGBoost', 'LightGBM', and others. Supports labelled data for regression, classification (binary, multi-class, multi-label), and ranking (with 'qid' field), and can handle header metadata and comments in files.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 2
- Examples that run
- 0%1 never run
- Exported functions with examples
- 50%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 50%
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
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/david-cortes/readsparse on 2026-10-21.
Dependencies
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
- 0.1.5-8Latest
- RR 4.4.0 released · 2024-04-24
- 0.1.5-6
- 0.1.5-52023-11-13 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.1.5-32022-08-15 · diff ↗
- 0.1.5-22022-08-06 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.1.5-12021-10-14 · diff ↗
- 0.1.52021-09-07 · diff ↗
- 0.1.32021-06-22 · diff ↗
- 0.1.2-22021-05-20 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.1.2-12021-04-13 · diff ↗
Package metadata
- First published
- 2021-04-06
- Total releases
- 12 / 5 yrs
- License
- BSD_2_clause + file LICENSE OSI
- Download size
- 74 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("readsparse")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-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.