Other packages > Find by keyword >

GPUmatrix  

Basic Linear Algebra with GPU
View on CRAN: Click here


Download and install GPUmatrix package within the R console
Install from CRAN:
install.packages("GPUmatrix")

Install from Github:
library("remotes")
install_github("cran/GPUmatrix")

Install by package version:
library("remotes")
install_version("GPUmatrix", "1.0.2")



Attach the package and use:
library("GPUmatrix")
Maintained by
Cesar Lobato-Fernandez
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-04-20
Latest Update: 2025-09-03
Description:
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.
How to cite:
Cesar Lobato-Fernandez (2023). GPUmatrix: Basic Linear Algebra with GPU. R package version 1.0.2, https://cran.r-project.org/web/packages/GPUmatrix. Accessed 06 Mar. 2026.
Previous versions and publish date:
0.1.0 (2023-04-20 18:52), 0.1.1 (2023-10-16 20:30), 1.0.0 (2023-11-27 15:30), 1.0.1 (2023-12-01 16:20), 1.0.2 (2024-03-01 10:02)
Other packages that cited GPUmatrix R package
View GPUmatrix citation profile
Other R packages that GPUmatrix depends, imports, suggests or enhances
Complete documentation for GPUmatrix
Functions, R codes and Examples using the GPUmatrix R package
Full GPUmatrix package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA