Hi,
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mahdi Osman
> Sent: Thursday, March 03, 2005 11:57 PM
> To: [email protected]
> 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.
Best,
Roland
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 <[EMAIL PROTECTED]>
;; Maintainer: A.J. Rossini <[EMAIL PROTECTED]>,
;; Martin Maechler <[EMAIL PROTECTED]>
;; 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}}
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html