Skip to content
Prev 391129 / 398506 Next

write console ouptut to file AND view in console

I think adding argument split=TRUE will do what you want.

FYI, it's a bit risky to rely on sink type="message" (standard error).
Contrary to "output" sinks, there can only be one "message" sink
active at any time, and whoever grabbed it last owns it going forward.
I'd say it can only be the end-user who can use this sink at the top
level, but it must not be used in packages (which then would steal it
from the end-user).

/Henrik
On Wed, Mar 23, 2022 at 1:47 PM nevil amos <nevil.amos at gmail.com> wrote: