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,
Hadley
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
