Re: [R] shell command with Robocopy error

2012-02-25 Thread Uwe Ligges
This is not an R question at all, but a robocopy question that you should ask its support. Anyway, a Google serach for robocopy exit codes returns: http://support.microsoft.com/kb/954404 Uwe Ligges On 24.02.2012 20:06, Aldo wrote: Also it copies the files, but I am using this as part of a l

Re: [R] shell command with Robocopy error

2012-02-24 Thread Aldo
Also it copies the files, but I am using this as part of a larger code block and concerned the errors will kill the loop -- View this message in context: http://r.789695.n4.nabble.com/shell-command-with-Robocopy-error-tp4418254p4418345.html Sent from the R help mailing list archive at Nabble.com.

[R] shell command with Robocopy error

2012-02-24 Thread Aldo
Ok so my problem is I am running a shell command to copy certain file types from one directory to another and it returns multiple errors the code is models=c("1sFE1cFE","1sFE1cFEp") for(m in 1:length(models)){ shell(paste("robocopy C:\\Sim_Test_1\\Sim",models[m],"