[R] Invoke operating system command

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Jul 13 20:43:11 CEST 2006

Gang Chen wrote:
> Hi all,
> How can I invoke an operating system command in R? I mean something  
> like exclamation mark (!) inside Matlab.

See ?system (and additionally ?shell if you are on Windows).

Uwe Ligges

> Thanks,
> Gang
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list