Other packages > Find by keyword >

nmathopencl  

'OpenCL'-Ported R 'Mathlib' for GPU-Accelerated Packages
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("nmathopencl", "0.8.2")



Attach the package and use:
library("nmathopencl")
Maintained by
Kjell Nygren
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-21
Latest Update: 2026-06-21
Description:
Ships statistical and mathematical routines from R internal 'nmath' ('Mathlib') as 'OpenCL' C sources under directory 'inst/cl/', with R wrappers that use the GPU when 'OpenCL' is available at compile time and fall back to 'stats' equivalents otherwise. Aimed at package developers building custom kernels (for example Bayesian GLMs via suggested package 'glmbayes') using 'opencltools' kernel loaders and related helpers. Contains translated shims, an illustrative GLM-related kernel subsystem, vignettes, and optional GPU acceleration. The ported routines are translated from the 'nmath' ('Mathlib') and 'Rmath' sources of R Core Team (2026) "R: A Language and Environment for Statistical Computing" <doi:10.32614/R.manuals>. 'OpenCL' GPU execution follows the standard described in Stone, Gohara, and Shi (2010) <doi:10.1109/MCSE.2010.69>. The likelihood subgradient simulation methodology implemented by the illustrative GLM kernel subsystem is described in Nygren and Nygren (2006) <doi:10.1198/016214506000000357>.
How to cite:
Kjell Nygren (2026). nmathopencl: 'OpenCL'-Ported R 'Mathlib' for GPU-Accelerated Packages. R package version 0.8.2, https://cran.r-project.org/web/packages/nmathopencl. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-16 02:00), 0.8.2 (2026-06-21 17:20)
Other packages that cited nmathopencl R package
View nmathopencl citation profile
Other R packages that nmathopencl depends, imports, suggests or enhances
Complete documentation for nmathopencl
Functions, R codes and Examples using the nmathopencl R package
Full nmathopencl package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
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  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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