GPUmatrix
1.0.3Basic Linear Algebra with GPU
Overview
GPUs are great resources for data analysis, especially in statistics and linear algebra. Unfortunately, very few packages connect R to the GPU, and none of them are transparent enough to run the computations on the GPU without substantial changes to the code. The maintenance of these packages is cumbersome: several of the earlier attempts have been removed from their respective repositories. It would be desirable to have a properly maintained R package that takes advantage of the GPU with minimal changes to the existing code. We have developed the 'GPUmatrix' package (available on CRAN). 'GPUmatrix' mimics the behavior of the Matrix package and extends R to use the GPU for computations. It includes single(FP32) and double(FP64) precision data types, and provides support for sparse matrices. It is easy to learn, and requires very few code changes to perform the operations on the GPU. 'GPUmatrix' relies on either the 'Torch' or 'Tensorflow' R packages to perform the GPU operations. We have demonstrated its usefulness for several statistical applications and machine learning applications: non-negative matrix factorization, logistic regression and general linear models. We have also included a comparison of GPU and CPU performance on different matrix operations.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-278 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 14%
- Documented parameters
- 83%
- Return-value docs
- 80%
- References docs
- 6%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
6 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.0.3Latest
- unarchivedReturned to CRAN2026-03-26
- archivedRemoved from CRAN2025-12-19issues were not corrected despite reminders
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.22024-03-01 · diff ↗
- 1.0.12023-12-01 · diff ↗
- 1.0.02023-11-27 · diff ↗
- 0.1.12023-10-16 · diff ↗
- unarchivedReturned to CRAN2023-10-16
- archivedRemoved from CRAN2023-10-12check problems were not corrected in time
- RR 4.3.0 released · 2023-04-21
- 0.1.02023-04-20
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2026-03-26
- Total releases
- 6 / 1 yrs
- License
- Artistic-2.0 OSI
- Minimum R
- ≥ 4.1
- Download size
- 3.7 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("GPUmatrix")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.