[Rd] Problem with R --gui=GNOME when launched from a menu system

Dirk Eddelbuettel edd at debian.org
Wed Sep 1 04:50:53 CEST 2004


On Tue, Aug 31, 2004 at 10:48:28AM -0500, Marc Schwartz wrote:
> On Tue, 2004-08-31 at 08:55, Dirk Eddelbuettel wrote:
> > Brian,
> > 
> > On Tue, Aug 31, 2004 at 02:21:40PM +0100, Prof Brian Ripley wrote:
> > > What are stdin/stdout/stderr connected to when you do that? R --gui=GNOME
> > > does write certain error messages (from GDK/GTK) to the controlling
> > > terminal so you may need one, at least if there is an error/warning.
> > > 
> > > I see gnome_start in src/modules/gnome/system.c has
> > > 
> > >     R_Interactive = isatty(0);
> > > 
> > > I would think that was blind copying.  Please see if setting it to 1 
> > > helps.
> > 
> > Excellent suggestion, I'll try that this eve.
> > 
> > Thanks as always,  Dirk
> 
> 
> FWIW, no default change in behavior here under XFCE4 when using the run
> dialog or in a desktop menu with the above source change.

It fixed the problem for me!

So a big Thank you! to Brian for the suggestion.

Dirk

-- 
Those are my principles, and if you don't like them... well, I have others.
                                                -- Groucho Marx



More information about the R-devel mailing list