u.sys | R Documentation |
u.sys()
is a convenient wrapper (of system()
) to 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.
Sys.ps.cmd()
returns the ‘ps’ (‘process status’)
OS command name (as character
string), and is typically
usable on unix alikes only.
u.sys(..., intern = TRUE)
Sys.ps.cmd()
... |
any number of strings – which will be
|
intern |
logical – note that the default is reversed from
the one in |
Martin Maechler
system
, really!;
on non-Windows, Sys.ps()
which makes use of Sys.ps.cmd()
.
u.sys # shows how simply the function is defined :
## Not run:
function (..., intern = TRUE)
system(paste(..., sep = ""), intern = intern)
## End(Not run)
# All *running* processes of user [sometimes only R]:
try ( u.sys(Sys.ps.cmd(), "ur") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.