execute_nmtran: Execute 'NM-TRAN' in a given directory

View source: R/run-nmtran.R

execute_nmtranR Documentation

Execute NM-TRAN in a given directory

Description

Execute NM-TRAN in a given directory. Also runs nmtran_presort if an executable is found. This assumes the model at mod_path has already been copied to the top-level of dir.

Usage

execute_nmtran(
  nmtran_exe,
  mod_path,
  cmd_args = c("0", "0", "2"),
  nmtran_presort_exe = NULL,
  dir = "."
)

Arguments

nmtran_exe

Path to NM-TRAN executable.

mod_path

Path of a model to evaluate. Should be relative to dir.

cmd_args

A character vector of command line arguments for the NM-TRAN execution call

nmtran_presort_exe

Path to nmtran_presort executable. If provided, will run nmtran_presort ahead of NM-TRAN for ⁠NONMEM 7.4⁠ and later. Set to NULL to skip this step.

dir

Directory in which to execute the command.


metrumresearchgroup/bbr documentation built on March 29, 2025, 1:08 p.m.