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 22 Sep. 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

cnum  
Chinese Numerals Processing
Chinese numerals processing in R, such as conversion between Chinese numerals and Arabic numerals a ...
Download / Learn more Package Citations See dependency  
jointseg  
Joint Segmentation of Multivariate (Copy Number) Signals
Methods for fast segmentation of multivariate signals into piecewise constant profiles and for gene ...
Download / Learn more Package Citations See dependency  
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  
Countr  
Flexible Univariate Count Models Based on Renewal Processes
Flexible univariate count models based on renewal processes. The models may include covariates and ...
Download / Learn more Package Citations See dependency  
spider  
Species Identity and Evolution in R
Analysis of species limits and DNA barcoding data. Included are functions for generating important s ...
Download / Learn more Package Citations See dependency  
odns  
Access Scottish Health and Social Care Open Data
Allows potential users of Scottish Health and Social Care Open Data ( ...
Download / Learn more Package Citations See dependency  

28,720

R Packages

247,686

Dependencies

75,677

Author Associations

28,721

Publication Badges

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