I'm struggling with the different R executables. What exactly is the difference between R.exe (with or without CMD BATCH option), Rcmd.exe, Rscript.exe and Rterm.exe when running command line in a batch file?
And what is the difference between:
R.exe --no-environ --no-save < "c:empRest.R" > "c:empRout.txt" 2>&1
and
R.exe CMD BATCH --no-environ --no-save "c:empRest.R" "c:empRout.txt"
No difference in the output.
I cannot find anything about Rcmd.exe and Rscript.exe in the 3079 pages R reference manual.
By the way: I am using Windows.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…