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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
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
> 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@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

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
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