R package for GLM model running. GLMr holds the version compiled or downloaded from the website on 2026-09-12 (version 4.0.0) and should run virtually on any Windows system (Linux and macOS still in planning). This package does not contain the source code for the model, only the executable. This package was inspired by the original GLMr package (used for GLM v2).
You can install GLMr from Github with:
# install.packages("devtools")
devtools::install_github("aemon-j/GLMr")
Compatible with Windows. Linux and macOS X to be implemented.
library(GLMr)
sim_folder <- system.file('extdata', package = 'GLMr')
run_glm(sim_folder, par_file = 'glm4.nml')
library(glmtools)
out_file <- file.path(sim_folder, 'output/output.nc')
plot_var(nc_file = out_file, var_name = 'temp')