Displaying 1 result from an estimated 1 matches for "input100".
Did you mean:
input10
2006 Jan 26
1
question about "system" command
Hi R Users
I am going to write a very short script for my small pilot simulation study.
I need to call a DOS program with different input data files in the middle
of for loop.
There are 100 input data files (e.g., input001.dat, input002.dat, .... ,
input100.dat)
for (1 in i :100)
{
system('"C:\\Program Files\\DOSPROGRAM\\RUN.exe" input001.dat')
}
I like to change the input data file name as for loop runs. How can I do
that ?
Thanks in advance
TM