Learn R Programming

ribiosUtils (version 1.7.7)

qsystem: Quietly runs a system command

Description

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

Usage

qsystem(command)

Value

(Invisibly) the internalized output of the command

Arguments

command

A system command

Author

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

Details

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

Examples

Run this code

dateIntern <- system("date")

Run the code above in your browser using DataLab