Skip to content
Prev 27126 / 63461 Next

(PR#10534 capture.output(), truncated last output without \n

Thank you, Brian.
Prof Brian Ripley wrote:
Well, in ?textConnection, Details section, one can read:
"Closing the connection will output the final line, complete or not."
This is fine, except one cannot detect when the last line was complete 
or not in capture.output(). I suggest adding an attribute complete = 
TRUE/FALSE to the result returned by capture.output(), or any other mean 
to return this information.

Best,

Philippe Grosjean