Hi Jim, Please disregard my earlier post -- I have done some research and realized the space between after "program " was the the issue. I can now open RScript.exe from the command prompt using the abbreviated form:
C:\PROGRA~1\R\R-2.11.1\bin\RScript.exe >From your earlier post, I understand the structure to type in the command prompt should be: 'Path to RScript.exe' SPACE 'Path to the .R file I want to execute' Which should translate as the following on my machine: C:\PROGRA~1\R\R-2.11.1\bin\RScript.exe \C:\Users\Vincent\Documents\temp\test.r Yet I get the following error message: 'Fatal Error: cannot open file \C:\Users\Vincent\Documents\temp\test.r' What am I doing wrong? Thanks for your help! -- View this message in context: http://r.789695.n4.nabble.com/Automating-R-script-with-Windows-7-tp4446693p4447406.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.