Learn R Programming

NMproject (version 0.6.9)

system_cmd: 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 = ".", ...)

Value

The return value of getOption("system_cmd").

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.

Examples

Run this code

system_cmd("pwd")

Run the code above in your browser using DataLab