[R] Script Run Output Capturing
Rasmus Liland
jr@| @end|ng |rom po@teo@no
Thu Dec 23 12:44:41 CET 2021
Dear Stephen,
Maybe running R in batch mode is what
you're after? E.g. running
R CMD BATCH ./process/script-name.r
creates ./process/script-name.Rout (or
./process/script-name.rout ?) with
output of R commands and inline output,
I think stderr (maybe others? Not only
stdout like tee ...
https://en.wikipedia.org/wiki/Standard_streams )
Note, the batch output is overwritten,
as opposed to being appended to (the tee
-a flag) the next time you run that line
again ...
Best,
Rasmus
More information about the R-help
mailing list