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 21 Jul. 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

beastier  
Call 'BEAST2'
'BEAST2' () is a widely used Bayesian phylogenetic tool, that uses DNA/RNA/ ...
Download / Learn more Package Citations See dependency  
splash  
Simple Process-Led Algorithms for Simulating Habitats
This program calculates bioclimatic indices and fluxes (radiation, evapotranspiration, soil moistur ...
Download / Learn more Package Citations See dependency  
truncnormbayes  
Estimates Moments for a Truncated Normal Distribution using 'Stan'
Finds the posterior modes for the mean and standard deviation for a truncated normal distribution wi ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
netgen  
Network Generator for Combinatorial Graph Problems
Methods for the generation of a wide range of network geographies, e.g., grid networks or clustered ...
Download / Learn more Package Citations See dependency  
OSTE  
Optimal Survival Trees Ensemble
Function for growing survival trees ensemble ('Naz Gul', 'Nosheen Faiz', 'Dan Brawn', 'Rafal Kulakow ...
Download / Learn more Package Citations See dependency  

27,889

R Packages

239,283

Dependencies

74,019

Author Associations

27,890

Publication Badges

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