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

Marc Schwartz MSchwartz at MedAnalytics.com
Wed Sep 1 05:55:07 CEST 2004


On Tue, 2004-08-31 at 21:50, Dirk Eddelbuettel wrote:
> 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,

What version of GNOME are you running this under and what version of
gcc?

It dawned on me (sorry) that I should have tried this under GNOME here
earlier and not just under XFCE4, given that there could be a bug in the
latter, even though they both use the same gtk libs.

However, I just logged out of XFCE4 and into GNOME, which as I mentioned
earlier, is version 2.6 here under FC2. gcc --version here is:

 gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

Unfortunately, the behavior under GNOME is the same as under XFCE4,
which is that R with the GNOME GUI exits if run from the "Run
Application" applet on the GNOME menu or from a launcher created on the
GNOME panel. It does stay if run from gnome-terminal as earlier.

Glad to hear that it is working on your end.

Best regards,

Marc



More information about the R-devel mailing list