editing .emacs-file for ess (windows version)
Jeff Mincy
jeff at delphioutpost.com
Wed Oct 17 14:59:38 CEST 2001
From: felber <felber at slf.ch>
Date: Wed, 17 Oct 2001 11:26:15 +0200
Hello everybody
we want to customize our ESS for R under windows 2000. For example we want
to set the R directory to d:\R using
(setq ess-pre-run-hook
`((lambda () (setq R-directory "D:/R"))))
This seems not to be the right way (or the right syntax) to define a path
under windows and xemacs. Does anyone know the solution?
The more correct way to do this is
(defun my-ess-pre-run-hook ()
(setq R-directory "D:/R"))
(add-hook 'ess-pre-run-hook 'my-ess-pre-run-hook)
I'm not sure what you're trying to do with R-directory, maybe you want
ess-directory? Xemacs probably doesn't care about the pathname syntax
but windows pathnames in lisp use escaped backslashes "d:\\R"
-jeff
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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