Hello to everybody!

I want to run R in batch mode but it doen't work (Error: syntax error)

I've found this in R help:
R CMD BATCH [options] infile [outfile]

I have tried differents commands:
(I have been working in the same directory I have "test.txt" file and 
"test2.txt" would be the output file)

 > R CMD BATCH "test.txt"

or

 > R CMD BATCH test.txt

or

 > BATCH test.txt

or

 > R CMD BATCH  test.txt  test2.txt

or

 > R CMD BATCH  "test.txt"  "test2.txt"

or

 > R CMD BATCH --no-save <"test.txt">


I don't know what is wrong. Could you help me, please?

Thanks a lot

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to