sys: Run Unix or Dos Depending on System
Description
Runs unix or dos depending on the current operating system. For
R, just runs system with optional concatenation of first two
arguments which are assumed named command and text.
Usage
sys(command, text=NULL, output=TRUE)
# S-Plus: sys(\dots, minimized=FALSE)
Arguments
command
system command to execute
text
text to concatenate to system command, if any (typically options or file
names or both)
output
set to FALSE to not return output of command as a character
vector
Side Effects
executes system commands