ESS and XEmacs\emacs

Rich Heiberger rmh at surfer.sbm.temple.edu
Tue Apr 24 21:16:02 CEST 2001


It looks like you haven't actually loaded ess-site.el.  Let's start by
manually loading it.  let's dired to it
C-x d d:/emacs/ess-5.1.18/lisp/ess-site.el
place the cursor on ess-site.el and enter Ly
(for Load and then confirm with y)
Now try M-x R RET


Assuming that works, you should be running R.

Now why isn't the .emacs being loaded by itself?  Maybe it is in the
wrong place.  Since Windows doesn't automatically have a HOME environment
variable, it defaults to using c:/.emacs and my guess is that isn't the file
you are using.  Let's verify.  Again with dired,
C-x d ~ RET
The first line of the buffer will show where you are, and my guess is that
it will show c:/:

Put the following three lines into c:/.emacs

;;; HOME environment variable
(setenv "HOME" (concat (getenv "HOMEDRIVE") (getenv "HOMEPATH")))
(load-file (concat (getenv "HOME") "\\.emacs"))

Now the default place that emacs goes will define the HOME environment
variable and will load the real .emacs file.

keep me posted.
Rich
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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