[Rd] Problem with R --gui=GNOME when launched from a menu system
Dirk Eddelbuettel
edd at debian.org
Tue Aug 31 15:55:10 CEST 2004
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
>
>
> On Mon, 30 Aug 2004, Dirk Eddelbuettel wrote:
>
> >
> > A Debian user filed a bug report the details of which are at
> > http://bugs.debian.org/269107
> >
> > 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, ripley at stats.ox.ac.uk
> 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, UK Fax: +44 1865 272595
>
>
--
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