[R] Using system to run a stand alone program that requires input in Windows
drcarbon at gmail.com
Thu Jul 14 20:07:19 CEST 2005
Under Windows I want to run a stand alone program that takes a number
of commands from the user. I've been running the program from the
command line using <
C:\Data\> foo.exe < params.txt
where foo is the program is params.txt is a text file with a few lines
(9) of parameters.
I want to run this from R using system a la:
system("foo.exe", input = "params.txt")
but that doesn't do it. What am I missing?
system i386, mingw32
More information about the R-help