RegressionTables.jl icon indicating copy to clipboard operation
RegressionTables.jl copied to clipboard

if out_buffer is supplied, should not also println to stdout

Open tbeason opened this issue 4 years ago • 0 comments

There is an implicit assumption in the way regtable writes output. In my case, this is causing all of my tables (and additional computations) being printed to the screen twice.

If I supply an out_buffer, you write to the buffer AND you write it to stdout. The problem is that I am eventually writing the buffer that I supplied to stdout. I think if you offer the out_buffer option, the output should only go to this IOBuffer.

tbeason avatar Feb 23 '20 20:02 tbeason