psoundararajan / rcaller

Automatically exported from code.google.com/p/rcaller
Other
0 stars 0 forks source link

No way to retrieve Output other than using file #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I really like this way to dial with R. The only thing I missed is how I can 
retrieve the error and output stream if I don't want to use file?

I'd really like to get them as variables (strings or streams) but those 
attributes are protected, and I don't want to "hack" your project.

Can you give me some advice? I don't want to use Reflection neither.

Thanks for your work, already useful.

Original issue reported on code.google.com by trb...@gmail.com on 8 Aug 2012 at 7:57

GoogleCodeExporter commented 9 years ago
I will code an easier stream handling routine in next minor release.

Original comment by mhsatman on 12 Apr 2014 at 8:29

GoogleCodeExporter commented 9 years ago
how is 

private void redirectROutputToStream(final OutputStream o)

method in RCaller.class ? You can pass screen outputs to any OutputStream o.

Original comment by mhsatman on 12 Apr 2014 at 9:05