David Magee wrote:>
> I tried running these under Windows XP from the dos prompt
> at C:/R/rw1050/bin
>
> Rterm --restore --save < test.R
> it returned
> > (block char)cError: syntax error.
>
> test.R has two lines:
> c<-1
> c
>
> Do I need a file header for the test.R file?
No. It works for me (R-1.6.0, WinNT4.0). Are there any special
characters in your file?
> Then I tried:
> >Rcmd BATCH test.R
> it returned
> perl' is not recognized as an internal or external command, operable
> program or batch file.
Is the path to perl set properly?
> I have perl loaded already.
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._