-
Notifications
You must be signed in to change notification settings - Fork 12
Using GLM in R
Matt Hipsey edited this page Aug 30, 2026
·
2 revisions
Note
This page is a stub, and needs review by the maintainers. The R packages listed below are community-maintained and were written against the GLM 3.x line — their compatibility with GLM 4.0.0 has not been confirmed. Treat the versions and links here as a starting point.
Several R packages exist for driving GLM and for post-processing its output.
| Package | Purpose |
|---|---|
GLM3r |
Runs GLM from R, bundling the model executable |
glmtools |
Reads, plots and summarises GLM output; edits .nml files |
For a practical introduction using these tools, see the glm-workbook, which contains exercises and case studies for users new to lake modelling.
This repository also provides a Binder environment with RStudio, launchable from the badge on the repository README.
For a Python interface, see Using GLM in Python.
- Whether
GLM3randglmtoolswork against GLM 4.0.0 output, and any changes needed. - Whether the bundled executable in
GLM3rshould be replaced with a 4.x binary frombinaries. - Confirmation that the Binder environment still builds against the current source tree.
- A recommended install sequence.

Background
Getting started
- Downloading
- Running the model
glm4.nmlconfiguration file- Tutorials & examples
- Navigating GLM outputs
Advanced use
- Command line options
- Restarting a simulation
- Customising the WQ setup
- Adding a new example lake
- Using GLM in R
- Using GLM in Python
Developer guide