From edd at debian.org  Wed Sep  1 04:50:53 2004
From: edd at debian.org (Dirk Eddelbuettel)
Date: Wed Sep  1 04:50:56 2004
Subject: [Rd] Problem with R --gui=GNOME when launched from a menu system
In-Reply-To: <1093967308.30615.115.camel@localhost.localdomain>
References: <20040831023858.GA9751@sonny.eddelbuettel.com>
	<Pine.LNX.4.44.0408311413080.25501-100000@gannet.stats>
	<20040831135509.GA16750@sonny.eddelbuettel.com>
	<1093967308.30615.115.camel@localhost.localdomain>
Message-ID: <20040901025053.GA25318@sonny.eddelbuettel.com>

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


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