sys: Run Unix or Dos Depending on System

Description Usage Arguments Value Side Effects See Also

View source: R/sys.s

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

1
2
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

Value

see unix or dos

Side Effects

executes system commands

See Also

unix, system


Hmisc documentation built on Oct. 7, 2021, 9:16 a.m.

Related to sys in Hmisc...