qsystem: Quietly runs a system command

Description Usage Arguments Details Value Author(s) Examples

View source: R/system.R

Description

Quietly runs a system command: the output is internalized and returned as an invisible variable, and the standard error output is ignored.

Usage

1
qsystem(command)

Arguments

command

A system command

Details

The function runs the system command in a quiet mode. The function can be useful in CGI scripts, for instance

Value

(Invisibly) the internalized output of the command

Author(s)

Jitao David Zhang <jitao_david.zhang@roche.com>

Examples

1
dateIntern <- system("date")

ribiosUtils documentation built on March 13, 2020, 2:54 a.m.