2

I am using capture.output function, but I think there are cases where it doesn't capture everything written to the process' stdout. Here are two examples:

capture.output(help(ls))
capture.output(system("wget --help"))

I am trying to understand why capture.output isn't capturing all stdout, in what situation I can expect it to not capture stdout, and am looking for a fix to make it capture all stdout.

Any input would be much appreciated.

Thanks!

yuliaUU
  • 1,581
  • 2
  • 12
  • 33

0 Answers0