[R] Running a batch file with an r script

Gabor Grothendieck ggrothendieck at gmail.com
Wed Sep 9 06:15:02 CEST 2009


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.
>




More information about the R-help mailing list