2006/11/8, Lanre Okusanya <[EMAIL PROTECTED]>:
> I assume this is windoze. Have you considered using the Rterm? You can

windows...   afaic

try with R.exe or, as said and imho better, Rterm.exe. Examples

testR.bat:
 set cmd=C:\Programme\R\R-2.3.1\Bin\R.exe
 call %cmd% CMD BATCH --slave --vanilla --args "sayHello.R" "rout.txt"

testT.bat:
 set cmd=C:\Programme\R\R-2.3.1\Bin\Rterm.exe
 call %cmd% --vanilla < sayHello.R > rtermout.txt

sayHello.R:
 cat( "hello chappi\n" )
 q()


--
Regards,
Hans-Peter

______________________________________________
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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to