[R] Running a batch file with an r script

Gabor Grothendieck
2009-09-09T04:15:02Z

Try

?Rscript
?system
?shell

On Tue, Sep 8, 2009 at 11:24 PM, Daniel Bradley<dannyboy477 at gmail.com>
wrote:
> Hi!
>
> I have a need to do the ridiculous and run a batch file if certain
> conditions are met within an R script. ?is there a simple way to do so? or
> to run dos commands?
>
> Thanks!
> Daniel
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>