run_nmtran | R Documentation |
NM-TRAN
on model objectsFunction to run NM-TRAN
on a model object to validate its control stream
for correct coding before submission. The NM-TRAN
dataset (FDATA
) and
other NONMEM
artifacts can be further inspected by keeping the run directory
around.
run_nmtran(
.mod,
.bbi_args = NULL,
.config_path = NULL,
run_dir = tempdir(),
clean = TRUE
)
.mod |
A |
.bbi_args |
A named list specifying arguments to pass to |
.config_path |
Path to a bbi configuration file. If |
run_dir |
Directory to run |
clean |
Logical ( |
NM-TRAN
is a preprocessor for NONMEM
that translates user-specified
control stream data and instructions into a form executable by NONMEM
.
Note that nmtran_presort
is run ahead of NM-TRAN
for NONMEM 7.4
and later
nmtran_presort
is a supplementary utility that preprocesses the control
stream to ensure it is in the correct format for NM-TRAN
.
An S3 object of class nmtran_process
## Not run:
mod <- read_model(file.path(MODEL_DIR, 1))
run_nmtran(mod, .bbi_args = list(nm_version = "nm74gf"))
# Save the run directory for manual inspection
run_nmtran(mod, clean = FALSE, run_dir = getwd())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.