john byrne
2003-Nov-26 03:38 UTC
[R] Syntax error from the following command running on Win XP: Rcmd BATCH a:test.r
What is the correct syntax for running a batch program (test.r) from the a: drive. I have tried no quotes, single and double quotes around a:test.r to no avail. Thanks in anticipation. John Byrne.
Uwe Ligges
2003-Nov-26 07:45 UTC
[R] Syntax error from the following command running on Win XP: Rcmd BATCH a:test.r
john byrne wrote:> > > > What is the correct syntax for running a batch program (test.r) from the a: > drive. I have tried no quotes, single and double quotes around a:test.r to > no avail.Learn how to specify paths in Windows: Rcmd BATCH a:\test.R BTW: If a: is a flopp drive, I'd highly recommend to copy files to a hard disk before working with them ... Uwe Ligges> Thanks in anticipation. > > John Byrne. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Duncan Murdoch
2003-Nov-26 11:55 UTC
[R] Syntax error from the following command running on Win XP: Rcmd BATCH a:test.r
On Wed, 26 Nov 2003 14:38:54 +1100, you wrote:>What is the correct syntax for running a batch program (test.r) from the a: >drive. I have tried no quotes, single and double quotes around a:test.r to >no avail. >(I'd put the full question in the message; I almost asked what syntax you had used, because I didn't notice it at first in the subject line.) You used Rcmd BATCH a:test.r and I can't see anything wrong with that syntax. What error message are you seeing? Do you have write permission on a:? Duncan Murdoch