[R] Talk with from Java

Hadley Wickham h.wickham at auckland.ac.nz
Wed Nov 12 09:10:00 CET 2003

Hi Markus,

My Java is a bit rusty, but I think when reading from an input stream 
like the one you've set up, Java "blocks" if there's no input, waiting 
until there is some to return.  I don't think the stream ends until the 
R process closes.  You should test ready() to see if there is more 
output to be read.

Hope this is helpful,


More information about the R-help mailing list