Skip to content

GPUmatrix

1.0.3

Basic Linear Algebra with GPU

0packages depend
2.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Angel RubioFirst published 2026-03-266 releasesCRAN page ↗

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

CRAN checks
13OK
Slowest check: 2.7 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-27
    8 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 3,693 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
14%
Documented parameters
83%
Return-value docs
80%
References docs
6%

Downloads

2.7K
CRAN downloads in the past year
Rank #6,211 · ~7/day · ~224/mo
Daily download trend is not available in this view yet.
28630 days
1.3K90 days
2.7K1 year
Compare downloads with other packages →
Also on173 r2u28 autocran27 c2d4u

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
Imports (2)
statsmethods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author, Contributor
Contributors (1)
Author, Contributor
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.3Latest
    2026-03-26 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-03-26
  • archivedRemoved from CRAN
    2025-12-19
    issues were not corrected despite reminders
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.2
    2024-03-01 · diff ↗
  • 1.0.1
    2023-12-01 · diff ↗
  • 1.0.0
    2023-11-27 · diff ↗
  • 0.1.1
    2023-10-16 · diff ↗
  • unarchivedReturned to CRAN
    2023-10-16
  • archivedRemoved from CRAN
    2023-10-12
    check problems were not corrected in time
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0
    2023-04-20
  • R
    R 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")
Rubio, A., A.Ferrer-Bonsoms, J., & Lobato-Fernandez, C. (2026). GPUmatrix: Basic Linear Algebra with GPU (Version 1.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for GPUmatrix version 1.0.3 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

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.

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