Re: [R] How to run sequential Rscript command for windows command line with a batch file.

2015-01-30 Thread Ista Zahn
I don't think this is an R question, since you want to loop from the windows command line rather than in R. Perhaps see http://stackoverflow.com/questions/11192039/how-to-do-a-for-loop-in-windows-command-line On Thu, Jan 29, 2015 at 11:26 PM, nevil amos wrote: > Hi, > > I need to run multiple ite

[R] How to run sequential Rscript command for windows command line with a batch file.

2015-01-29 Thread nevil amos
Hi, I need to run multiple iterations of a script to which I am supplying a single numeric argument I can open the command prompt window and enter a single command: "C:\Program Files\R\R-3.1.0\bin\x64\Rscript.exe" myScript.R.R 18 and it runs OK and saves the outputs. Similarly if I run the same