Learn R Programming

sfsmisc (version 0.9-4)

u.sys: `Portable' System function (R / S-plus)

Description

Convenient call to the underlying operating system. The main purpose has been to provide a function with identical UI both in S-PLUS and R. MM thinks you shouldn't use this anymore, usually.

Usage

u.sys(..., intern = TRUE)

Arguments

...
any number of strings -- which will be paste()d together and passed to system.
intern
logical -- note that the default is reversed from the one in system().

See Also

system, really!

Examples

Run this code
u.sys # shows how simply the function is defined :
function (..., intern = TRUE)
  system(paste(..., sep = ""), intern = intern)

Run the code above in your browser using DataLab