Invoking shell commands from within R
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._