Hi. I'm trying to install R and ESS on MacOS, and I need some help there.

My environment:
MacOSX Snow Leopard
Cocoa Emacs 23.2
R 2.13.1
ESS 5.14

I have installed "R" with the help of http://cran.r-project.org/ .
And it seems R-2.13.1.pkg gives two applications, namely, "R" and "R64".
Is it OK to understand that "R64" is 64-bit application?

R does start up without Emacs and it works fine.  The problem occurs when
using it on Emacs.

I need to make Emacs recognize "R" and ess. So my setting in .emacs file is

(setq exec-path (cons "/Applications/R64.app/bin" exec-path))
(setq load-path (cons "~/.emacs.d/esslisp" load-path)) ;;here it contains
all .el files
(require 'ess-site)
(setq auto-mode-alist
     (cons (cons "\\.r$" 'R-mode) auto-mode-alist))

It gives an error

ERROR:ess-site.el:ess-etc-directory
Relative to ess-lisp-directory, one of the following must exist:
../etc/ess, ../etc, ../../etc/ess or ./etc


And it does not seem to work at all.
Could anyone point out where the problem is?

soichi

	[[alternative HTML version deleted]]

