system_nm: System command for NONMEM execution

View source: R/NMproject-options.R

system_nmR Documentation

System command for NONMEM execution

Description

[Stable]

Not intended to be used directly in most cases. This is the function used by run_nm(). It can also be used directly to launch other PsN commands like sumo.

Usage

system_nm(cmd, dir = nm_dir("models"), ...)

Arguments

cmd

Character. System call to be sent to the terminal.

dir

Character. Directory (relative path) to run command in. By default this will be the "models" directory (nm_dir("models")).

...

Additional arguments to be passed to system() or shell().

Value

The return value of getOption("system_nm").

See Also

run_nm()

Examples


system_nm("hostname")

## requires NONMEM to be installed
## Not run: 

system_nm("psn --versions")
system_nm("sumo run1.mod")

## End(Not run)


tsahota/NMproject documentation built on Oct. 1, 2022, 11:51 a.m.