system_cmd: System/shell command wrapper

View source: R/NMproject-options.R

system_cmdR Documentation

System/shell command wrapper

Description

[Stable]

Will run getOption("system_cmd"). A OS agnostic interface to the system terminal. Most of the time this will be the same as system_nm except when the PsN/NONMEM execution server is location in a different location to the RStudio server.

Usage

system_cmd(cmd, dir = ".", ...)

Arguments

cmd

Character. Command to send to shell.

dir

Optional character. Directory to run command in (default = current working directory)

...

Other arguments passed to system command.

Value

The return value of getOption("system_cmd").

Examples


system_cmd("pwd")


NMproject documentation built on Sept. 30, 2022, 1:06 a.m.