sys: Invoke a System Command

Description Usage Arguments

View source: R/sys.R

Description

This function wraps to system, but interprets all un-named arguments as things to be paste-ed. See system for further details.

Usage

1
2
3
sys(..., intern = FALSE, ignore.stdout = FALSE, ignore.stderr = FALSE,
  wait = TRUE, input = NULL, show.output.on.console = TRUE,
  minimized = FALSE, invisible = TRUE)

Arguments

...

System command to be invoked; this gets passed into paste(..., sep='', collapse='').

intern

A logical (not NA) which indicates whether to capture the output of the command as an R character vector.

ignore.stdout

Ignore stdout?

ignore.stderr

Ignore stderr?

wait

Should the R interpreter wait for the program to finish execution?

input

If a character vector is supplied, this is copied one string per line to a temporary file, and the standard input of ... is redirected to the file.

show.output.on.console

Windows only – show output on console?

minimized

Windows only – run the shell minimized?

invisible

Windows only – run invisibly?


Kmisc documentation built on May 29, 2017, 1:43 p.m.

Related to sys in Kmisc...