nonmem2rx: 'nonmem2rx' Converts 'NONMEM' Models to 'rxode2'

'NONMEM' has been a tool for running nonlinear mixed effects models since the 80s and is still used today (Bauer 2019 <doi:10.1002/psp4.12404>). This tool allows you to convert 'NONMEM' models to 'rxode2' (Wang, Hallow and James (2016) <doi:10.1002/psp4.12052>) and with simple models 'nlmixr2' syntax (Fidler et al (2019) <doi:10.1002/psp4.12445>). The 'nlmixr2' syntax requires the residual specification to be included and it is not always translated. If available, the 'rxode2' model will read in the 'NONMEM' data and compare the simulation for the population model ('PRED') individual model ('IPRED') and residual model ('IWRES') to immediately show how well the translation is performing. This saves the model development time for people who are creating an 'rxode2' model manually. Additionally, this package reads in all the information to allow simulation with uncertainty (that is the number of observations, the number of subjects, and the covariance matrix) with a 'rxode2' model. This is complementary to the 'babelmixr2' package that translates 'nlmixr2' models to 'NONMEM' and can convert the objects converted from 'nonmem2rx' to a full 'nlmixr2' fit.

Version: 0.1.4
Imports: checkmate, digest, dparser, lotri, Rcpp, rxode2 (> 2.0.13), magrittr, cli, tools, utils, data.table, qs, xml2, ggplot2, ggforce, crayon
LinkingTo: dparser, Rcpp, rxode2parse
Suggests: devtools, testthat (≥ 3.0.0), nonmemica, NMdata, nonmem2R, withr, nlme, dplyr, xgxr, vdiffr, knitr, rmarkdown, spelling
Published: 2024-05-29
DOI: 10.32614/CRAN.package.nonmem2rx
Author: Matthew Fidler ORCID iD [aut, cre], Philip Delff [ctb], Gabriel Staples [ctb] (string insensitive compare)
Maintainer: Matthew Fidler <matthew.fidler at>
License: GPL (≥ 3)
NeedsCompilation: yes
Language: en-US
Materials: README NEWS
In views: Pharmacokinetics
CRAN checks: nonmem2rx results


Reference manual: nonmem2rx.pdf
Vignettes: Importing NONMEM into rxode2


Package source: nonmem2rx_0.1.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): nonmem2rx_0.1.4.tgz, r-oldrel (arm64): nonmem2rx_0.1.4.tgz, r-release (x86_64): nonmem2rx_0.1.4.tgz, r-oldrel (x86_64): nonmem2rx_0.1.4.tgz
Old sources: nonmem2rx archive

Reverse dependencies:

Reverse imports: babelmixr2
Reverse suggests: ruminate


Please use the canonical form to link to this page.