Skip to content

nonmem2rx

Converts 'NONMEM' Models to 'rxode2'

v0.1.9 · Nov 26, 2025 · GPL (>= 3)

Description

'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.

Downloads

528

Last 30 days

7591st

1.6K

Last 90 days

6.4K

Last year

Trend: +3.3% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (3 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.2Mb
  sub-directories of 1Mb or more:
    libs   5.2Mb
    mods   3.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  9.6Mb
  sub-directories of 1Mb or more:
    libs   5.5Mb
    mods   3.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.6Mb
  sub-directories of 1Mb or more:
    libs   2.6Mb
    mods   3.3Mb

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.2Mb
  sub-directories of 1Mb or more:
    libs   5.2Mb
    mods   3.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  9.6Mb
  sub-directories of 1Mb or more:
    libs   5.5Mb
    mods   3.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.6Mb
  sub-directories of 1Mb or more:
    libs   2.6Mb
    mods   3.3Mb

Reverse Dependencies (2)

imports

suggests

Dependency Network

Dependencies Reverse dependencies checkmate digest dparser lotri Rcpp rxode2 magrittr cli data.table qs2 xml2 ggplot2 ggforce crayon babelmixr2 ruminate nonmem2rx

Version History

new 0.1.9 Mar 10, 2026
updated 0.1.9 ← 0.1.8 diff Nov 26, 2025
updated 0.1.8 ← 0.1.7 diff Aug 28, 2025
updated 0.1.7 ← 0.1.6 diff Jul 14, 2025
updated 0.1.6 ← 0.1.5 diff Nov 27, 2024
updated 0.1.5 ← 0.1.4 diff Sep 17, 2024
updated 0.1.4 ← 0.1.3 diff May 29, 2024
updated 0.1.3 ← 0.1.2 diff Dec 11, 2023
updated 0.1.2 ← 0.1.1 diff Jul 2, 2023
updated 0.1.1 ← 0.1.0 diff May 31, 2023
new 0.1.0 May 25, 2023