Skip to content
Prev 60452 / 63424 Next

Out buffers flushing

On Linux you could try
    stdbuf --output=L R 2>&1 | cat
to force line buffering when the output goes to a pipe (replace 'cat' by
the command of your choice).  'R' may have to be replaced by the actual
executable, e.g.,
    R CMD stdbuf --output=L `R RHOME`/bin/exec/R 2>&1 | cat

-Bill
On Fri, Jan 21, 2022 at 7:52 AM Greg Minshall <minshall at umich.edu> wrote: