ezSystem | R Documentation |
Invokes the system command specified by cmd
.
ezSystem(cmd, echo = TRUE, intern = FALSE, stopOnFailure = !intern, ...)
cmd |
a system command input as a character. |
echo |
a logical defining whether |
intern |
a logical which indicates whether to capture the output of the command as an R character vector. |
stopOnFailure |
defaults to the opposite of intern and specifies whether the command should stop. |
... |
additional arguments to be passed to |
Returns input as character vector if echo
is set to TRUE. Returns an error code if intern
is set to FALSE.
Rehrauer, Hubert
Schmid, Peter
system
try(ezSystem("who"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.