On Thu, 23 Feb 2006, Prof Brian Ripley wrote:

On Wed, 22 Feb 2006, Fran?ois Pinard wrote:
[...]

So, I was not expecting R, running with that option activated, to
"volunteer" white lines. :-)

But Simon said `with the documentation'.  Not doing what you expected is
not a bug.  Can you please point us to documentation which says that
end-of-file produces no output?

This does appear to be deliberate behaviour from

void end_Rmainloop(void)
{
   Rprintf("\n");
   /* run the .Last function. If it gives an error, will drop back to main
      loop. */
   R_CleanUp(SA_DEFAULT, 0, 1);
}

and I think it is necessary, as R might well have a partial line of output queued up for the console. So this is probably `as quietly as possible'.

(While agreeing entirely on the "bug" issue), couldn't we have fflush() instead of sending a newline?

        -thomas
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to