[R] Invoking shell commands from within R
Friedrich Leisch
Friedrich.Leisch at ci.tuwien.ac.at
Mon Apr 26 15:04:21 CEST 1999
>>>>> On 26 Apr 1999 13:46:53 +0200,
>>>>> Fredrik Glockner (FG) wrote:
FG> In S-Plus, one can invoke a shell command by prepending it with a "!",
FG> e.g.:
>> !ls
FG> Is something similar available in R? Is it possible to execute shell
FG> commands from within R?
Yes, use the system() command, see help(system)
.f
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list