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.3")



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.3, https://cran.r-project.org/web/packages/GPUmatrix. Accessed 13 Oct. 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), (2026-07-09 08:05)
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

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
weibullness  
Goodness-of-Fit Test for Weibull Distribution (Weibullness)
Conducts a goodness-of-fit test for the Weibull distribution (referred to as the weibullness test) a ...
Download / Learn more Package Citations See dependency  
robust2sls  
Outlier Robust Two-Stage Least Squares Inference and Testing
An implementation of easy tools for outlier robust inference in two-stage least squares (2SLS) mode ...
Download / Learn more Package Citations See dependency  
dafs  
Data Analysis for Forensic Scientists
Data and miscellanea to support the book "Introduction to Data analysis with R for Forensic Scientis ...
Download / Learn more Package Citations See dependency  
covid19us  
Cases of COVID-19 in the United States
A wrapper around the 'COVID Tracking Project API' providing data o ...
Download / Learn more Package Citations See dependency  

29,000

R Packages

247,686

Dependencies

76,729

Author Associations

29,001

Publication Badges

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