[R] Running executable files from R

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Sat Jun 24 03:15:03 CEST 2006



Julian Burgos wrote:
> Hello fellow R's,
> 
> I apologize if this question was answer elsewhere.  I have an executable 
> file that I need to run from R.  Basically I want to use R to create the 
> input files this executable requires, then run it, and finally use R 
> again to analyze the output files.  Because I have to do this many times 
> I'd like to have the R code call the executable file after the input 
> files are ready.  Is there an easy way to have R run an .exe file?
> Thanks for any help,
> 
> Julian
> 

See ?system.

HTH
--sundar



More information about the R-help mailing list