RE: [R] Turning windows screen buffering on and off

2004-04-19 Thread Philippe Grosjean
Duncan Murdoch wrote:
>In the long term, I'd like it if all of Rgui could be moved to a
>package.  From most users' points of view things wouldn't change much,
>but it would mean it was more practical for someone like you to write
>your own front-end, either by modifying the standard one or by
>starting from scratch.

I totally agree. Recent developments in SciViews (which will be publicly
released in May) focus on GUI extentions *for* Rgui, not *in replacement* of
it as it was the case for SciViews Insider. I have difficulties with
specific aspects like buffered output, whose state is hard to know from R
code... This would be a lot more easier if all Rgui extensions could be
accessed through R code. A dedicated package is an excellent idea.

OK, that said, I go back to my work, because I still have a lot to finish
for UseR! conference...
Best regards,

Philippe Grosjean

...<
 ) ) ) ) )
( ( ( ( (   Prof. Philippe Grosjean
\  ___   )
 \/ECO\ (   Numerical Ecology of Aquatic Systems
 /\___/  )  Mons-Hainaut University, Pentagone
/ ___  /(   8, Av. du Champ de Mars, 7000 Mons, Belgium
 /NUM\/  )
 \___/\ (   phone: + 32.65.37.34.97, fax: + 32.65.37.33.12
   \ )  email: [EMAIL PROTECTED]
 ) ) ) ) )  SciViews project coordinator (http://www.sciviews.org)
( ( ( ( (
...

__
[EMAIL PROTECTED] 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


Re: [R] Turning windows screen buffering on and off

2004-04-19 Thread Duncan Murdoch
On Mon, 19 Apr 2004 10:05:48 +0200, "Philippe Grosjean"
<[EMAIL PROTECTED]> wrote :

>The buffered output is a nice thing, and if the user want to use it, then
>fine! However, it should be nice to know if it is set ON or OFF, and to
>temporarily change it for some outputs in R scripts. I think this is the
>primary request. Then, your request appears to me as a secondary one: to set
>buffered output ON or OFF at statup of Rgui (by defining it in the
>preference panel). Personnally, I would really like to have both.

In the long term, I'd like it if all of Rgui could be moved to a
package.  From most users' points of view things wouldn't change much,
but it would mean it was more practical for someone like you to write
your own front-end, either by modifying the standard one or by
starting from scratch.

Duncan Murdoch

__
[EMAIL PROTECTED] 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


RE: [R] Turning windows screen buffering on and off

2004-04-19 Thread Philippe Grosjean
The buffered output is a nice thing, and if the user want to use it, then
fine! However, it should be nice to know if it is set ON or OFF, and to
temporarily change it for some outputs in R scripts. I think this is the
primary request. Then, your request appears to me as a secondary one: to set
buffered output ON or OFF at statup of Rgui (by defining it in the
preference panel). Personnally, I would really like to have both.
Best,

Philippe Grosjean

...<°}))><
 ) ) ) ) )
( ( ( ( (   Prof. Philippe Grosjean
\  ___   )
 \/ECO\ (   Numerical Ecology of Aquatic Systems
 /\___/  )  Mons-Hainaut University, Pentagone
/ ___  /(   8, Av. du Champ de Mars, 7000 Mons, Belgium
 /NUM\/  )
 \___/\ (   phone: + 32.65.37.34.97, fax: + 32.65.37.33.12
   \ )  email: [EMAIL PROTECTED]
 ) ) ) ) )  SciViews project coordinator (http://www.sciviews.org)
( ( ( ( (
...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Friday, 16 April, 2004 18:09
To: [EMAIL PROTECTED]
Subject: RE: [R] Turning windows screen buffering on and off


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 <[EMAIL PROTECTED]>
Subject: RE: [R] Turning windows screen buffering on and off
To: <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
> Sent: Friday, April 16, 2004 1:11 PM
> To: Patterson, Toby (Marine, Hobart)
> Cc: [EMAIL PROTECTED]
> Subject: Re: [R] Turning windows screen buffering on and off
>
> Ctrl-W.
>
> -roger
>
> [EMAIL PROTECTED] 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
> > major1
> > minor8.1
> > year 2003
> > month11
> > day  21
> > language R
> >
> > __
> > [EMAIL PROTECTED] 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
> >
>
> __
> [EMAIL PROTECTED] 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,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
[EMAIL PROTECTED] 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

__
[EMAIL PROTECTED] 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


RE: [R] Turning windows screen buffering on and off

2004-04-16 Thread Benjamin . STABLER
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 <[EMAIL PROTECTED]>
Subject: RE: [R] Turning windows screen buffering on and off
To: <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
> Sent: Friday, April 16, 2004 1:11 PM
> To: Patterson, Toby (Marine, Hobart)
> Cc: [EMAIL PROTECTED]
> Subject: Re: [R] Turning windows screen buffering on and off
>
> Ctrl-W.
>
> -roger
>
> [EMAIL PROTECTED] 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
> > major1
> > minor8.1
> > year 2003
> > month11
> > day  21
> > language R
> >
> > __
> > [EMAIL PROTECTED] 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
> >
>
> __
> [EMAIL PROTECTED] 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,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
[EMAIL PROTECTED] 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


RE: [R] Turning windows screen buffering on and off

2004-04-16 Thread Prof Brian Ripley
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,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
[EMAIL PROTECTED] 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


RE: [R] Turning windows screen buffering on and off

2004-04-16 Thread Liaw, Andy
> 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?

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

Best,
Andy

> On Fri, 16 Apr 2004 [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
> > Sent: Friday, April 16, 2004 1:11 PM
> > To: Patterson, Toby (Marine, Hobart)
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [R] Turning windows screen buffering on and off
> >
> > Ctrl-W.
> >
> > -roger
> >
> > [EMAIL PROTECTED] 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
> > > major1
> > > minor8.1
> > > year 2003
> > > month11
> > > day  21
> > > language R
> > >
> > > __
> > > [EMAIL PROTECTED] 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
> > >
> >
> > __
> > [EMAIL PROTECTED] 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,  [EMAIL PROTECTED]
> 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, UKFax:  +44 1865 272595
> 
> __
> [EMAIL PROTECTED] 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
> 
>

__
[EMAIL PROTECTED] 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


RE: [R] Turning windows screen buffering on and off

2004-04-16 Thread Philippe Grosjean
You can use flush.console() in your code wherever you want to print the
output immediatelly on screen in Rgui, even if it is in buffered output
mode. This is the most flexible option, because you decide exactly when to
update the output screen.

Best,

Philippe Grosjean

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Friday, 16 April, 2004 06:38
To: [EMAIL PROTECTED]
Subject: RE: [R] Turning windows screen buffering on and off


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:[EMAIL PROTECTED]
Sent: Friday, April 16, 2004 1:11 PM
To: Patterson, Toby (Marine, Hobart)
Cc: [EMAIL PROTECTED]
Subject: Re: [R] Turning windows screen buffering on and off

Ctrl-W.

-roger

[EMAIL PROTECTED] 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
> major1
> minor8.1
> year 2003
> month11
> day  21
> language R
>
> __
> [EMAIL PROTECTED] 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
>

__
[EMAIL PROTECTED] 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

__
[EMAIL PROTECTED] 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


RE: [R] Turning windows screen buffering on and off

2004-04-16 Thread 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.)


On Fri, 16 Apr 2004 [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
> Sent: Friday, April 16, 2004 1:11 PM
> To: Patterson, Toby (Marine, Hobart)
> Cc: [EMAIL PROTECTED]
> Subject: Re: [R] Turning windows screen buffering on and off
>
> Ctrl-W.
>
> -roger
>
> [EMAIL PROTECTED] 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
> > major1
> > minor8.1
> > year 2003
> > month11
> > day  21
> > language R
> >
> > __
> > [EMAIL PROTECTED] 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
> >
>
> __
> [EMAIL PROTECTED] 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,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
[EMAIL PROTECTED] 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


RE: [R] Turning windows screen buffering on and off

2004-04-15 Thread Toby.Patterson
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:[EMAIL PROTECTED] 
Sent: Friday, April 16, 2004 1:11 PM
To: Patterson, Toby (Marine, Hobart)
Cc: [EMAIL PROTECTED]
Subject: Re: [R] Turning windows screen buffering on and off

Ctrl-W.

-roger

[EMAIL PROTECTED] 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  
> major1  
> minor8.1
> year 2003   
> month11 
> day  21 
> language R
> 
> __
> [EMAIL PROTECTED] 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
>

__
[EMAIL PROTECTED] 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


Re: [R] Turning windows screen buffering on and off

2004-04-15 Thread Roger D. Peng
Ctrl-W.

-roger

[EMAIL PROTECTED] 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  
major1  
minor8.1
year 2003   
month11 
day  21 
language R

__
[EMAIL PROTECTED] 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
__
[EMAIL PROTECTED] 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] Turning windows screen buffering on and off

2004-04-15 Thread Toby.Patterson

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  
major1  
minor8.1
year 2003   
month11 
day  21 
language R

__
[EMAIL PROTECTED] 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