[R] R CMD BATCH: cat does not print

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Thu Aug 30 15:06:29 CEST 2007


Paul Smith wrote:

> Thanks, Barry. Indeed, the file myscript.Rout exists and contains the
> output of cat. I was expecting a behavior similar to the bash scripts.
> And by the way, cannot a R script write only on the console and just
> what one tells it to write, likewise bash scripts?

  Not easily, I think. The 'BATCH' command is really intended for 
long-running or off-line jobs that may be disconnected from a terminal.


Barry



More information about the R-help mailing list