[R] How to execute a R script but outputting the result to the screen?

Peng Yu pengyu.ut at gmail.com
Thu Aug 6 16:35:00 CEST 2009


Hi,

If I run the below command, it will generate a file 'file.Rout' to
save the output. But I want the output be shown in the screen
directly. I'm wondering if there is a direct way to do so.

R CMD BATCH file.R

Regards,
Peng




More information about the R-help mailing list