[R] Turning windows screen buffering on and off

Benjamin.STABLER@odot.state.or.us Benjamin.STABLER at odot.state.or.us
Fri Apr 16 18:09:29 CEST 2004


Well, I too would like to be able to set buffered output to false for Rgui
Windows without user intervention.  Maybe it could be set via the Edit ->
Gui Preferences so that it can be saved and set at startup.  The GUI
Preferences are part of the interface and not the standard language
definition right?...so that seems to be a good spot to set something like
that.

Benjamin Stabler
Transportation Planning Analysis Unit
Oregon Department of Transportation
555 13th Street NE, Suite 2
Salem, OR 97301  Ph: 503-986-4104

---------------------------------

Message: 75
Date: Fri, 16 Apr 2004 08:59:43 +0100 (BST)
From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
Subject: RE: [R] Turning windows screen buffering on and off
To: <Toby.Patterson at csiro.au>
Cc: R-help at stat.math.ethz.ch
Message-ID: <Pine.GSO.4.31.0404160852270.16317-100000 at toucan.stats>
Content-Type: TEXT/PLAIN; charset=US-ASCII

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.)


On Fri, 16 Apr 2004 Toby.Patterson at csiro.au wrote:

> I meant via a function or something like:
>
> options( buffered.output = FALSE)
>
> Sorry, I should have made that clearer.
>
> Cheers
> Toby
>
>
>
> -----Original Message-----
> From: Roger D. Peng [mailto:rpeng at jhsph.edu]
> Sent: Friday, April 16, 2004 1:11 PM
> To: Patterson, Toby (Marine, Hobart)
> Cc: R-help at stat.math.ethz.ch
> Subject: Re: [R] Turning windows screen buffering on and off
>
> Ctrl-W.
>
> -roger
>
> Toby.Patterson at csiro.au wrote:
> > All,
> >
> > Does anyone know if there is an option I can set to turn
> screen-buffered
> > output on and off with the win32 rgui? (Apart from the point and click
> > method).
> >
> > I am running some simulations where it is useful to watch output but
> it
> > gets mildly tiresome having to manually switch things on and off via
> the
> > gui.
> >
> > Thanks
> >
> > Toby.
> >
> >
> >>version
> >
> >          _
> > platform i386-pc-mingw32
> > arch     i386
> > os       mingw32
> > system   i386, mingw32
> > status
> > major    1
> > minor    8.1
> > year     2003
> > month    11
> > day      21
> > language R
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> >
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
>

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list