[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.

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

Examples


system_nm("hostname")

## requires NONMEM to be installed
if (FALSE) {

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