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 29 Jun. 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

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  
SurvDisc  
Discrete Time Survival and Longitudinal Data Analysis
Various functions for discrete time survival analysis and longitudinal analysis. SIMEX method for co ...
Download / Learn more Package Citations See dependency  
cogmapr  
Cognitive Mapping Tools Based on Coding of Textual Sources
Functions for building cognitive maps based on qualitative data. Inputs are textual sources (article ...
Download / Learn more Package Citations See dependency  
mappoly  
Genetic Linkage Maps in Autopolyploids
Construction of genetic maps in autopolyploid full-sib populations. Uses pairwise recombination fra ...
Download / Learn more Package Citations See dependency  
ollg  
Computes some Measures of OLL-G Family of Distributions
Computes the pdf, cdf, quantile function, hazard function and generating random numbers for Odd log- ...
Download / Learn more Package Citations See dependency  
sprintr  
Sparse Reluctant Interaction Modeling
An implementation of a computationally efficient method to fit large-scale interaction models based ...
Download / Learn more Package Citations See dependency  
Maintainer: Guo Yu (view profile)

27,653

R Packages

236,180

Dependencies

73,487

Author Associations

27,536

Publication Badges

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