Package: nonmem2rx 0.1.10

Matthew Fidler

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.

Authors:Matthew Fidler [aut, cre], Philip Delff [ctb], Gabriel Staples [ctb]

nonmem2rx_0.1.10.tar.gz
nonmem2rx_0.1.10.zip(r-4.7)nonmem2rx_0.1.10.zip(r-4.6)nonmem2rx_0.1.10.zip(r-4.5)
nonmem2rx_0.1.10.tgz(r-4.6-x86_64)nonmem2rx_0.1.10.tgz(r-4.6-arm64)nonmem2rx_0.1.10.tgz(r-4.5-x86_64)nonmem2rx_0.1.10.tgz(r-4.5-arm64)
nonmem2rx_0.1.10.tar.gz(r-4.7-arm64)nonmem2rx_0.1.10.tar.gz(r-4.7-x86_64)nonmem2rx_0.1.10.tar.gz(r-4.6-arm64)nonmem2rx_0.1.10.tar.gz(r-4.6-x86_64)
nonmem2rx_0.1.10.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
nonmem2rx/json (API)
NEWS

# Install 'nonmem2rx' in R:
install.packages('nonmem2rx', repos = c('https://nlmixr2.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/nlmixr2/nonmem2rx/issues

Pkgdown/docs site:https://nlmixr2.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

nlmixr2nonmempharmacometricsrxode2cpp

7.53 score 14 stars 2 packages 37 scripts 370 downloads 28 exports 55 dependencies

Last updated from:56ccceb535. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK458
linux-devel-x86_64OK571
source / vignettesOK295
linux-release-arm64OK420
linux-release-x86_64OK556
macos-release-arm64OK378
macos-release-x86_64OK861
macos-oldrel-arm64OK296
macos-oldrel-x86_64OK547
windows-develOK384
windows-releaseOK403
windows-oldrelOK390
wasm-releaseOK187

Exports:%>%as.nonmem2rxautoplotexpitinilogitlotrimodelmodel<-nmcovnmextnmgrdnminfonmlstnmtabnmxmlnmxmlCovnmxmlOmeganmxmlSigmanmxmlThetanonmem2rxnonmem2rxRecrxodeRxODErxode2rxRenamerxSolverxUiGet

Dependencies:armadillo4rbackportsbase64encBHcachemcheckmateclicpp11cpp4rcrayondata.tabledescdigestdparserfarverfastmapggforceggplot2gluegtableinlineisobandjsonlitelabelinglifecyclelotrimagrittrMASSmemoisepolyclipPreciseSumsqs2R6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelrexrlangrxode2rxode2llS7scalessitmoStanHeadersstringfishsyssystemfontstidyselecttweenrvctrsviridisLitewithrxml2

Importing NONMEM into rxode2

Rendered fromimport-nonmem.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-04-26
Started: 2023-05-11