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"), ...)
Character. System call to be sent to the terminal.
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()
.
The return value of getOption("system_nm")
.
system_nm("hostname")
## requires NONMEM to be installed
if (FALSE) {
system_nm("psn --versions")
system_nm("sumo run1.mod")
}