When running
R CMD BATCH [options] filename.r
I want to control where the output is printed. I can suppress the creation of the .Rout file with
R CMD BATCH [options] filename.r /dev/null
but is it possible to direct the output to the screen? Like when I run it by
R [options] < filename.r
?
Guess you’re on linux. Tried already to redirect to /dev/console ?
Edit -add info from the comments -:
/dev/console apparently doesn’t work, /dev/tty does. Depending on the system, /dev/tty0 might be an option too
Cheers