system2(“File_Name1.bat”) runs the bat file
foreach(i = 1)%do%{paste0(“File_Name”,i,”.bat”) runs the bat file
foreach(i = 1)%dopar%{paste0(“File_Name”,i,”.bat”) runs the bat file
but
foreach(i = 1)%dofuture%{paste0(“File_Name”,i,”.bat”) gives a warning saying:
In system2(past0(does not find “File_Name1.bat”…: ‘”File_Name1.bat”‘ not found
Anyone have an explanation why?
This should work fine