Skip to content

bigPLSR

Partial Least Squares Regression Models with Big Matrices

v0.7.2 · Dec 1, 2025 · GPL-3

Description

Fast partial least squares (PLS) for dense and out-of-core data. Provides SIMPLS (straightforward implementation of a statistically inspired modification of the PLS method) and NIPALS (non-linear iterative partial least-squares) solvers, plus kernel-style PLS variants ('kernelpls' and 'widekernelpls') with parity to 'pls'. Optimized for 'bigmemory'-backed matrices with streamed cross-products and chunked BLAS (Basic Linear Algebra Subprograms) (XtX/XtY and XXt/YX), optional file-backed score sinks, and deterministic testing helpers. Includes an auto-selection strategy that chooses between XtX SIMPLS, XXt (wide) SIMPLS, and NIPALS based on (n, p) and a configurable memory budget. About the package, Bertrand and Maumy (2023) <https://hal.science/hal-05352069>, and <https://hal.science/hal-05352061> highlighted fitting and cross-validating PLS regression models to big data. For more details about some of the techniques featured in the package, Dayal and MacGregor (1997) <doi:10.1002/(SICI)1099-128X(199701)11:1%3C73::AID-CEM435%3E3.0.CO;2-%23>, Rosipal & Trejo (2001) <https://www.jmlr.org/papers/v2/rosipal01a.html>, Tenenhaus, Viennet, and Saporta (2007) <doi:10.1016/j.csda.2007.01.004>, Rosipal (2004) <doi:10.1007/978-3-540-45167-9_17>, Rosipal (2019) <https://ieeexplore.ieee.org/document/8616346>, Song, Wang, and Bai (2024) <doi:10.1016/j.chemolab.2024.105238>. Includes kernel logistic PLS with 'C++'-accelerated alternating iteratively reweighted least squares (IRLS) updates, streamed reproducing kernel Hilbert space (RKHS) solvers with reusable centering statistics, and bootstrap diagnostics with graphical summaries for coefficients, scores, and cross-validation workflows, alongside dedicated plotting utilities for individuals, variables, ellipses, and biplots. The streaming backend uses far less memory and keeps memory bounded across data sizes. For PLS1, streaming is often fast enough while preserving a small memory footprint; for PLS2 it remains competitive with a bounded footprint. On small problems that fit comfortably in RAM (random-access memory), dense in-memory solvers are slightly faster; the crossover occurs as n or p grow and the Gram/cross-product cost dominates.

Downloads

CRAN

263

Last 30 days

15816th

734

Last 90 days

1.6K

Last year

Trend: +85.2% (30d vs prior 30d)

r2u CRAN

45

Last 30 days

139

Last 90 days

249

Last year

Trend: -26.2% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-gcc

for unstated dependencies in vignettes

Fatal error: cannot create 'R_TempDir'
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 15.4Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs  12.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 16.4Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs  12.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs   1.7Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/bigPLSR.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 15.4Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs  12.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 16.4Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs  12.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs   1.7Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 15.4Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs  12.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 16.4Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs  12.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs   1.7Mb

Dependency Network

Dependencies Reverse dependencies Rcpp bigmemory bigPLSR

Version History

1 tracked
new 0.7.2 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Dec 1, 2025. Releases before tracking aren’t shown.