Rau, Roland Rau at demogr.mpg.de
Fri Mar 4 11:45:18 CET 2005


> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Mahdi Osman
> Sent: Thursday, March 03, 2005 11:57 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] ESS
> I can not start R proccess or ESS from within XEmacs. What is 
> going wrong?

Do you have a HOME directory?

AFAIK, XEmacs is going there to check for the file .emacs or for
If you don't have one, I think XEmacs is checking C:\ as the default
In my init.el-file I have the following lines:

(load "u:\\XEmacs\\xemacs-packages\\lisp\\ess\\ess-site")
(add-path "u:\\XEmacs\\xemacs-packages\\lisp\\ess\\")
(require 'ess-site)

Most likely you have to modify them according to your own settings. ;-)

You also have to modify the file ess-site.el
In my version of ESS you find the important lines you have to change at
about line 325. (If I remember correctly, the location in previous
versions of ESS was about line 250).

My line for R looks like:

(setq-default inferior-R-program-name "U:\\R\\rw2001\\bin\\Rterm.exe")
; msdos systems

> I can not start S. M-x S gives "no matching"

Try M-x R
> How can I configure XEmacs for STATA 8?

Probably the wrong mailing list?
However, if you have ESS corretly configured, you can open any *.do file
and XEmacs switches to ESS[STA] mode and supports syntax highlighting
and probably a lot more (I haven't used Stata for a while now - thanks
to R).

Hope this helps.


P.S. This is my version of ESS:
;;; ess-site.el --- user customization of ess-mode

;; Copyright (C) 1993 David M. Smith
;; Copyright (C) 1997--2004 A.J. Rossini, R.M. Heiberger, Martin
;; Maechler, Kurt Hornik, Rodney Sparapani, and Stephen Eglen.

;; Author: David Smith <D.M.Smith at lancaster.ac.uk>
;; Maintainer: A.J. Rossini <rossini at u.washington.edu>, 
;;             Martin Maechler <maechler at stat.math.ethz.ch>
;; Created: 12 Nov 1993
;; Modified: $Date: 2004/07/28 15:07:04 $
;; Version: $Revision: 1.3 $
;; RCS: $Id: ess-site.el,v 1.3 2004/07/28 15:07:04 rsparapa Exp $

This mail has been sent through the MPI for Demographic Rese...{{dropped}}

More information about the R-help mailing list