From: Rau, Roland <>
Date: Fri 04 Mar 2005 - 21:45:18 EST


> -----Original Message-----
> From:
> [] On Behalf Of Mahdi Osman
> Sent: Thursday, March 03, 2005 11:57 PM
> To:
> 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 .xemacs/init.el.
If you don't have one, I think XEmacs is checking C:\ as the default location.
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 <>
;; Maintainer: A.J. Rossini <>, 
;;             Martin Maechler <>
;; 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}} mailing list PLEASE do read the posting guide! Received on Fri Mar 04 21:59:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:40 EST