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

487

Last 30 days

7519th

487

Last 90 days

487

Last year

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 (14 non-OK)
OK 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

*


            
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
OK 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

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 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 9, 2026