RSpectra: Solvers for Large-Scale Eigenvalue and SVD Problems

R interface to the 'Spectra' library <> 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.

Version: 0.16-0
Depends: R (≥ 3.0.2)
Imports: Matrix (≥ 1.1-0), Rcpp (≥ 0.11.5)
LinkingTo: Rcpp, RcppEigen (≥
Suggests: knitr, rmarkdown, prettydoc
Published: 2019-12-01
Author: Yixuan Qiu [aut, cre], Jiali Mei [aut] (Function interface of matrix operation), Gael Guennebaud [ctb] (Eigenvalue solvers from the 'Eigen' library), Jitse Niesen [ctb] (Eigenvalue solvers from the 'Eigen' library)
Maintainer: Yixuan Qiu <yixuan.qiu at>
License: MPL (≥ 2)
NeedsCompilation: yes
Materials: README NEWS
In views: NumericalMathematics
CRAN checks: RSpectra results


Reference manual: RSpectra.pdf
Vignettes: Large-Scale Eigenvalue Decomposition and SVD with RSpectra
Package source: RSpectra_0.16-0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: RSpectra_0.16-0.tgz, r-oldrel: RSpectra_0.16-0.tgz
Old sources: RSpectra archive

Reverse dependencies:

Reverse depends: fad, onlinePCA, SmartSVA
Reverse imports: bcTSNE, bigstatsr, bigutilsr, blapsr, ClimMobTools, clusterExperiment, ddpca, destiny, dtwclust, epca, filling, fungible, fuser, Gmedian, gsbm, HCD, hmlasso, knockoff, kpcalg, lefko3, lfmm, maotai, MatrixCorrelation, miRNAss, motifcluster, NetMix, NetworkDistance, NetworkReg, pcadapt, PlackettLuce, polyreg, quanteda.textmodels, rags2ridges, rainette, randnet, rARPACK, Rdimtools, ScorePlus, scTenifoldNet, SIMLR, SISIR, SuperPCA, textmineR, TopicScore, umap, uSORT, uwot
Reverse linking to: autoFRK, Gmedian
Reverse suggests: bigsnpr, butcher, dimRed, ggmix, hydra, recipes, Rssa, spaMM, spatialreg, spdep


Please use the canonical form to link to this page.