Skip to content
Back to formatted view

Raw Message

Message-ID: <1146245427.445251334eef1@webmailapp3.cc.utexas.edu>
Date: 2006-04-28T17:30:27Z
From: Matthew Cohen
Subject: R-2.3.0 crashes under ess-5.3.0

I think there's been a change in R regarding when and how you define the
display.  Instead of within the X11() command, you need to type first, at the R
prompt:

> Sys.putenv("DISPLAY"=":0")

Hope this helps/works.

Matt

-------
Hi

[sending here after trying R-help and ess-help with
no success]

With R-2.3.0 (dmg downloaded just now), ess-5.3.0:
  trying to open an X11 graphics window with
X11("octopus:0.0") results in R crashing:


 > X11("octopus:0.0")
Error: Couldn't find per display information

Process R exited abnormally with code 1 at Fri Apr 28 14:05:06 2006




(typing "X11()" doesn't crash, but doesn't open an X window either).

The situation is fine running R from an xterm.  I can
open a window with either X11() or X11("octopus:0.0") from
within an Xterm R session.

I can also open a window fine from R-2.2.1 from within emacs.

Can someone help me diagnose this problem?







--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743