[R] Automating R script with Windows 7
istazahn at gmail.com
Tue Jul 3 13:31:43 CEST 2012
On Mon, Mar 5, 2012 at 2:47 PM, vincent.deluard
<vincentdeluardr at gmail.com> wrote:
> 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:
> >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:
> Yet I get the following error message:
> 'Fatal Error: cannot open file \C:\Users\Vincent\Documents\temp\test.r'
I don't think you want the first backslash in the test.r path, i.e.,
it should be C:\Users\Vincent\Documents\temp\test.r instead of
> 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 at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help