ESS and stata- no graphic output

Jan Goebel jgoebel at diw.de
Tue Feb 6 15:09:22 CET 2001


Hello,

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

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

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

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

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

------------------------------------------------------ Hardware
        pd | 

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

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

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

I'm using:
   GNU Emacs 20.3.1
   ESS 5.1.18
   stata 6.0
on rs6000-ibm-aix4.1.5.0

Thanks a lot!

jan

-- 
+-----------------------------------
 Jan Goebel (mailto:jgoebel at diw.de)

 DIW Berlin 
 Longitudinal Data and Microanalysis
 Königin-Luise-Str. 5
 D-14195 Berlin -- Germany --
 phone: 49 30 89789-377
+-----------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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