Skip to content

RSpectra

0.16-2Package record

Solvers for Large-Scale Eigenvalue and SVD Problems

113packages dependsuggested by 39
917.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

R interface to the 'Spectra' library https://spectralib.org/ for large-scale eigenvalue and SVD problems. It is typically used to compute a few eigenvalues/vectors of an n by n matrix, e.g., the k largest eigenvalues, which is usually more efficient than eigen() if k << n. This package provides the 'eigs()' function that does the similar job as in 'Matlab', 'Octave', 'Python SciPy' and 'Julia'. It also provides the 'svds()' function to calculate the largest k singular values and corresponding singular vectors of a real matrix. The matrix to be computed on can be dense, sparse, or in the form of an operator defined by the user.

Changes in 0.16-2

BUG FIXES

  • Fixed C++20 compiler errors, thanks to Prof. Ripley.

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.16-2
READMEYes · 271 wordsVignettesYes · 1 · dynamicNEWSYes · mentions 0.16-2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
2
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

917.4K
CRAN downloads in the past year
Rank #403 · ~2.5K/day · ~76.5K/mo
Daily download trend is not available in this view yet.
74.2K30 days
221.4K90 days
917.4K1 year
Compare downloads with other packages →
Also on40.2K r2u124 autocran222.6K conda_forge603 c2d4u

Repository

90Stars
12Forks
6Open issues
0Open PRs
0Releases
102Commits
3Commit identities
eigenvaluesspectrasvd
102 commits · Last activity 2024-07-18 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
80
Median days to close, 50 most recently updated closed PRs
15

Stars over time

2025-07-21 · 832026-07-20 · 90
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/yixuan/rspectra on 2026-10-18.

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

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing RSpectra adds 2 packages (2 with compiled code, 3.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB.

Depends (1)
R >= 3.0.2
Imports (2)
MatrixRcpp
LinkingTo (2)
Enhances (0)
none

People & History

People (4)
Author, Maintainer since 0.11-0 (2016)
Author
Function interface of matrix operation
Contributor
Eigenvalue solvers from the 'Eigen' library
Contributor
Eigenvalue solvers from the 'Eigen' library
Releases (8)

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.16-2Latest
    record
    2024-07-18 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.16-1
    record
    2022-04-24 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.16-0
    record
    2019-12-01 · diff ↗
  • 0.15-0
    record
    2019-06-11 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.14-0
    record
    2019-04-04 · diff ↗
  • 0.13-1
    record
    2018-05-23 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
Show 4 earlier eventsHide 4 earlier events
  • 0.12-0
    record
    2016-06-12 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.11-0
    record
    2016-02-29
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-02-29
Total releases
8 / 10 yrs
License
MPL (>= 2)
Minimum R
≥ 3.0.2
Download size
125 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RSpectra")
Qiu, Y., Guennebaud, G., Mei, J., & Niesen, J. (2024). RSpectra: Solvers for Large-Scale Eigenvalue and SVD Problems (Version 0.16-2) [Computer software]. https://doi.org/10.32614/CRAN.package.RSpectra

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

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