Hmisc (version 2.0-0)

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)
# S-Plus: sys(..., minimized=FALSE)

Arguments

command
system command to execute
text
text to concatenate to system command, if any (typically options or file names or both)

Value

  • see unix or dos

Side Effects

executes system commands

See Also

unix, system