[R] Turning windows screen buffering on and off

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 16 14:29:23 CEST 2004


On Fri, 16 Apr 2004, Liaw, Andy wrote:

> > From: Prof Brian Ripley
> > 
> > No, and options() really is part of the R/S language not the 
> > interface.
> > 
> > See the rw-FAQ Q6.3 for how to manage the buffering more effectively.
> > (Hint: you need to put calls to flush.console() in your code.)
> 
> Doesn't that only work for output at the R level?  I.e., if the output is
> coming solely from compiled code, my impression is that flush.console()
> won't help.  Am I mistaken?

It works for all output, but if you want to trigger it in compiled code
you need C-level calls -- that is also in the rw-FAQ.

> Is it possible to make it an option in Edit / GUI preferences?

`It' being the default state of buffering?  Yes, it is possible.
Patches will be considered ....

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list