ESS and stata- no graphic output

A.J. Rossini rossini at blindglobe.net
Tue Feb 6 18:32:36 CET 2001


>>>>> "JG" == Jan Goebel <jgoebel at diw.de> writes:


    JG> Hello, i encountered the same problem as Eduardo sometimes ago
    JG> described. I found only the question from tony and i can say:
    JG> yes no problem to start a xterm (DISPLAY is defined, if this
    JG> was your intention?) Did anybody fixed the problem?

    JG> On Wed, 27 Dec 2000, A.J. Rossini wrote:

    >> >>>>> "EAN" == Eduardo A Nogueira <nogueira at hc.unicamp.br>
    >> writes:
    >> 
    EAN> Hi, I am using Stata (version 6.0) from within xemacs
    EAN> (version 21.1) with ESS (version 5.1.13), in Linux (Suse ^X
    EAN> 6.3). Statistical commands work fine but there is no graphic
    EAN> output. Is this an expected behaviour ? Can it be fixed?
    >> Can you verify if you can run an xterm from within a shell in
    >> XEmacs, i.e. M-x shell, and from the shell, xterm &, ?
    >> 
    >> best, -tony

    JG> Starting stata in an xterm/aixterm i have no problems with
    JG> graphics.  The command "query" in stata produces (using an
    JG> xterm):

    JG> ------------------------------------------------------
    JG> Hardware pd | /usr/local/stata6/pd.X (binary)

    JG> doing the same command in stata under emacs/ESS, i get:

    JG> ------------------------------------------------------
    JG> Hardware pd |

    JG> So the problems seems that stata don't know which pd.Driver it
    JG> has to use, which are defined in pddefs. In this file i found
    JG> something like:

    JG> -----pddefs(excerpt)--------- rgs rs/6000 a <none> RGS rs/6000
    JG> a <none> wy99 rs/6000 b pd.wy99 aixterm rs/6000 b pd.X
    JG> aixterm-m rs/6000 b pd.X -g0 xterm rs/6000 b pd.X
    JG> ------end--------------------

    JG> So, does anyone know how to say stata that he have to use pd.X
    JG> also in emacs/ESS (i didn't have the permission to edit
    JG> pddefs) or can ESS tell stata a lie about the $TERM??

Using ESS 5.1.19 (I know, it's not out yet :-) as well as ESS 5.1.13,
with XEmacs version (Value: "21.0 \"Pyrenean63\" XEmacs Lucid
(beta63)"), graphics are working just fine. 
This is on RedHat 5.2 (ancient, I know).

HOWEVER, using Emacs 20.3 (this IS an old machine), I get the problems
that Jan and Eduardo experience.  

So I'm really confused.   Is there any way in Stata of "forcing" the
pd.X driver?  

best,
-tony

-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
UW Biostat/Center for AIDS Research	rossini at u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
-------- (friday is unknown) --------
FHCRC: M--W : 206-667-7025 (fax=4812)|Voicemail is pretty sketchy
CFAR:  ??   : 206-731-3647 (fax=3694)|Email is far better than phone
UW:    Th   : 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list