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

From: Prof Brian Ripley <>
Date: Tue 31 Aug 2004 - 23:21:40 EST

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.

On Mon, 30 Aug 2004, Dirk Eddelbuettel wrote:

> A Debian user filed a bug report the details of which are at
> I can replicate his problem: the R/Gnome entry that is made available to the
> various window managers fails. A window pops, and exists.
> As far as I can tell, the menuing system does not have a problem with shell
> script wrapper. Environment variables like PATH, DISPLAY etc should be set
> too. So the best idea I am having now is that R _may_ think that
> interactive() is FALSE when it should in fact be TRUE.
> Does anybody have a) other ideas, and fixes, or b) an idea how I could
> correct the menuing system?
> Dirk

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Tue Aug 31 23:33:17 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:00:00 EST