Package: bigPCAcpp 0.9.1

Frederic Bertrand

bigPCAcpp: Principal Component Analysis for 'bigmemory' Matrices

High performance principal component analysis routines that operate directly on bigmemory::big.matrix() objects. The package avoids materialising large matrices in memory by streaming data through 'BLAS' and 'LAPACK' kernels and provides helpers to derive scores, loadings, correlations, and contribution diagnostics, including utilities that stream results into 'bigmemory'-backed matrices for file-based workflows. Additional interfaces expose 'scalable' singular value decomposition, robust PCA, and robust SVD algorithms so that users can explore large matrices while tempering the influence of outliers. 'Scalable' principal component analysis is also implemented, Elgamal, Yabandeh, Aboulnaga, Mustafa, and Hefeeda (2015) <doi:10.1145/2723372.2751520>.

Authors:Frederic Bertrand [aut, cre]

bigPCAcpp_0.9.1.tar.gz
bigPCAcpp_0.9.1.tar.gz(r-4.7-arm64)bigPCAcpp_0.9.1.tar.gz(r-4.7-x86_64)bigPCAcpp_0.9.1.tar.gz(r-4.6-arm64)bigPCAcpp_0.9.1.tar.gz(r-4.6-x86_64)
bigPCAcpp_0.9.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
bigPCAcpp/json (API)
NEWS

# Install 'bigPCAcpp' in R:
install.packages('bigPCAcpp', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/fbertran/bigpcacpp/issues

Pkgdown/docs site:https://fbertran.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

openblascpp

3.82 score 1 packages 11 scripts 511 downloads 26 exports 6 dependencies

Last updated from:27311fd781. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK184
linux-devel-x86_64OK149
source / vignettesOK203
linux-release-arm64OK177
linux-release-x86_64OK151
wasm-releaseOK130

Exports:pca_bigmatrixpca_individual_contributionspca_individual_cos2pca_plot_biplotpca_plot_contributionspca_plot_correlation_circlepca_plot_scorespca_plot_screepca_robustpca_scores_bigmatrixpca_scores_stream_bigmatrixpca_spcapca_spca_Rpca_spca_stream_bigmatrixpca_stream_bigmatrixpca_supplementary_individualspca_supplementary_variablespca_variable_contributionspca_variable_contributions_stream_bigmatrixpca_variable_correlationspca_variable_correlations_stream_bigmatrixpca_variable_cos2pca_variable_loadingspca_variable_loadings_stream_bigmatrixsvd_bigmatrixsvd_robust

Dependencies:BHbigmemorybigmemory.sriRcppuuidwithr

Benchmarking bigPCAcpp Workflows

Rendered frombigPCA-benchmarks.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2026-03-25
Started: 2025-10-20

Fast Principal Component Analysis for Big Data with bigPCAcpp

Rendered frombigPCAcpp.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2025-10-20
Started: 2025-10-20

Readme and manuals

Help Manual

Help pageTopics
bigPCAcpp: Principal Component Analysis for bigmemory MatricesbigPCAcpp-package bigPCAcpp
Benchmark timings for bigPCAcpp methodsbenchmark_results
BigPCA result objectsbigpca
Principal component analysis for 'bigmemory::big.matrix' inputspca_bigmatrix pca_individual_contributions pca_individual_cos2 pca_scores_bigmatrix pca_variable_contributions pca_variable_correlations pca_variable_cos2 pca_variable_loadings plot.bigpca print.summary.bigpca resolve_big_pointer summary.bigpca
PCA biplot helperpca_plot_biplot
Plot variable contributionspca_plot_contributions
Plot a PCA correlation circlepca_plot_correlation_circle
Plot sampled PCA scorespca_plot_scores
Scree plot for principal component importancepca_plot_scree
Plot PCA diagnostics for big data workflowspca_plots
Robust principal component analysispca_robust
Scalable principal component analysis via streaming power iterationspca_spca pca_spca_R
Streaming big.matrix PCA helperspca_scores_stream_bigmatrix pca_spca_stream_bigmatrix pca_stream_bigmatrix pca_variable_contributions_stream_bigmatrix pca_variable_correlations_stream_bigmatrix pca_variable_loadings_stream_bigmatrix
Supplementary individual diagnosticspca_supplementary_individuals
Supplementary variable diagnosticspca_supplementary_variables
Singular value decomposition for 'bigmemory::big.matrix' inputssvd_bigmatrix
Robust singular value decomposition (C++ backend)svd_robust
Iteratively reweighted singular value decompositionsvd_robust_R