[ESS-bugs] ess-mode 5.3.3; lisp nesting exceeds max-lisp-eval-depth
Pfaff, Bernhard Dr.
Bernhard_Pfaff at fra.invesco.com
Wed Oct 11 11:09:43 CEST 2006
Dear Bug-Reader,
I encounter the following problem by using ESS 5.3.3 with R 2.4.0
(patched). After executing M-x R the following message is displayed:
lisp nesting exceeds max-lisp-eval-depth
In my '.emacs'file I have the following entries:
(load "c:/emacs/emacs-21.3/site-lisp/ess-5.3.3/lisp/ess-site")
(setq inferior-R-program-name "c:/R/R-2.4.0pat/bin/Rterm.exe")
(setq inferior-R-args "--internet2")
(setq ess-ask-for-ess-directory nil)
(add-to-list 'auto-mode-alist '("\\.rd\\'" . Rd-mode))
(define-key ess-mode-map (kbd "<f1>") (quote ess-eval-line-and-step))
(define-key ess-mode-map (kbd "<f2>") (quote ess-eval-region))
(define-key ess-mode-map (kbd "<f3>") (quote ess-eval-buffer))
The problem does not occur, whence ESS 5.2.11 is used. As it seems, the
error is caused by calling Rterm.exe from a non.existent directory, that
is at least not provided by the user. After M-x set-variable RET
debug-on-error RET t RET and executing M-x R, the following is shown in
*Backtrace*
Debugger entered--Lisp error: (error "Lisp nesting exceeds
max-lisp-eval-depth")
R(nil)
(let ((inferior-R-program-name
"c:/R/R-2.4.0pat-win32.exebin/Rterm.exe")) (R start-args))
R(nil)
(let ((inferior-R-program-name
"c:/R/R-2.4.0pat-win32.exebin/Rterm.exe")) (R start-args))
call-interactively(R)
.
## the above message is repeated a couple of times and snipped here to
save space
.
execute-extended-command(nil)
* call-interactively(execute-extended-command)
Incidentally, the "lisp nesting exceeds max-lisp-eval-depth" does occur
regardless of which version of Rterm.exe (i.e. its path) is provided in
(setq inferior-R-program-name "path to Rterm.exe version)
Output from: M-x ess-submit-bug-report
Emacs : GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600)
of 2004-03-10 on NYAUMO
Package: ess-mode 5.3.3
current state:
==============
(setq
ess-language "Initial"
ess-dialect nil
ess-ask-for-ess-directory nil
ess-ask-about-transfile nil
ess-directory nil
ess-keep-dump-files "always"
ess-source-directory "C:\\DOCUME~1\\pfaffb\\LOCALS~1\\Temp"
)
[ess-site.el]: ess-customize-alist=nil
[ess-site.el _2_]: ess-customize-alist=nil
(R): ess-rterm-versions-create making M-x defuns for
c:/R/R-2.2.0/bin/Rterm.exe c:/R/R-2.2.1/bin/Rterm.exe
c:/R/R-2.3.0/bin/Rterm.exe c:/R/R-2.3.1/bin/Rterm.exe
c:/R/R-2.4.0/bin/Rterm.exe c:/R/R-2.4.0pat/bin/Rterm.exe
c:/R/R-2.4.0pat-win32.exebin/Rterm.exe
How can I resolve this problem?
For your endevours many thanks in advance.
Best,
Bernhard
Dr. Bernhard Pfaff
Global Structured Products Group
(Europe)
Invesco Asset Management Deutschland GmbH
Bleichstrasse 60-62
D-60313 Frankfurt am Main
Tel: +49(0)69 29807 230
Fax: +49(0)69 29807 178
Email: bernhard_pfaff at fra.invesco.com
*****************************************************************
Confidentiality Note: The information contained in this mess...{{dropped}}
More information about the ESS-bugs
mailing list