Description Usage Arguments Value Examples
Wrapper function to system()
1 2 3 4 5 6 7 8 9 10 |
... |
one or more arguments of type string, which can be concatenated using the paste function (e.g. 'ls','-lrt','/bin'). |
sep |
character used to seperate the terms. Used in the paste function. |
debug |
print command before execution. |
intern |
a logical (not 'NA') which indicates whether to capture the output of the command as an R character vector (parameter to system function). |
ignore.stdout, ignore.stderr |
a logical (not 'NA') indicating whether messages written to 'stdout' or 'stderr' should be ignored (parameter to system function). |
wait |
a logical (not 'NA') indicating whether the R interpreter should wait for the command to finish, or run it asynchronously. This will be ignored (and the interpreter will always wait) if 'intern = TRUE' (parameter to system function). |
input |
if a character vector is supplied, this is copied one string per line to a temporary file, and the standard input of 'command' is redirected to the file (parameter to system function). |
Return value of the executed command.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.