Skip to content
Prev 2472 / 398503 Next

Invoking shell commands from within R

In S-Plus, one can invoke a shell command by prepending it with a "!",
e.g.:

    > !ls

Is something similar available in R?  Is it possible to execute shell
commands from within R?

Fredrik
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._