[ESS-bugs] Lisp nesting exceeds 'max-lisp-eval-depth'

john.gavin at ubs.com john.gavin at ubs.com
Tue May 23 13:46:29 CEST 2006


Hi,

To produce the error "Lisp nesting exceeds 'max-lisp-eval-depth'"
I start Xemacs 21.4.19 (ESS 5.3.0) with nothing in my init.el file,
then type 'M-x load-library ess-site' and 'M-x R'.

The same problem occurs with ESS 5.2.12 
but _not_ with ESS 5.2.11

The output from 'ESS-send bug report' is shown below.

Let me know if you require more information
(but please tell me explicitly what to do 
as I am not familiar with lisp).

I will stay on ESS 5.2.11 for now.

Regards,

John.

John Gavin <john.gavin at ubs.com>,
Commodities, FIRC,
UBS Investment Bank, 2nd floor, 
100 Liverpool St., London EC2M 2RH, UK.
Phone +44 (0) 207 567 4289


Subject: ess-mode 5.3.0; 

Emacs  : XEmacs 21.4 (patch 19) "Constant Variable" [Lucid]
(i586-pc-win32) of Sat Jan 28 2006 on VSHELTON-PC2
Package: ess-mode 5.3.0

current state:
==============
(setq
 ess-language "S"
 ess-dialect "R"
 ess-ask-for-ess-directory t
 ess-ask-about-transfile nil
 ess-directory nil
 ess-keep-dump-files "always"
 ess-source-directory "c:/temp/tempEnvVariable"
 )
[ess-site.el]: ess-customize-alist=nil 
[ess-site.el _2_]: ess-customize-alist=nil 
(Sqpe): ess-sqpe-versions-create making M-x defun splus62 for
c:/progra~1/Insightful/splus62 
(Sqpe): ess-sqpe-versions-create making M-x defun splus61 for
c:/progra~1/Insightful/splus61 
(R): ess-rterm-versions-create making M-x defuns for
c:\etc\R\R-2.2.1.zipbin/Rterm.exe
c:\etc\R\R-2.3.0\bin/Rterm.exe(n-i-m-l: 1)(ess-setq-vars-LOCAL):
language=S, dialect=R, buf=nil, comint..echoes=nil,
comint..sender=comint-simple-send
(ess-mode-1): ess-language=S, ess-dialect=R buf=brentVwtiCoint.Rnw 
(ess-mode-1.5): alist=((ess-local-customize-alist quote
R-customize-alist) (ess-dialect . R) (ess-suffix . R)
(ess-dump-filename-template ess-replace-regexp-in-string S$ ess-suffix
ess-dump-filename-template-proto) (ess-mode-syntax-table .
R-syntax-table) (ess-mode-editing-alist . R-editing-alist)
(ess-change-sp-regexp . ess-R-change-sp-regexp) (ess-help-sec-regex .
ess-help-R-sec-regex) (ess-help-sec-keys-alist .
ess-help-R-sec-keys-alist) (ess-loop-timeout . ess-S-loop-timeout)
(ess-cmd-delay . ess-R-cmd-delay) (ess-function-pattern .
ess-R-function-pattern) (ess-object-name-db-file . ess-r-namedb.el)
(ess-retr-lastvalue-command . assign(".Last.value", .ess.lvsave,
envir=baseenv())
) (ess-save-lastvalue-command . assign(".ess.lvsave", get(".Last.value",
envir=baseenv()))
) (ess-imenu-mode-function quote ess-imenu-R) (inferior-ess-program .
inferior-R-program-name) (inferior-ess-objects-command .
inferior-R-objects-command) (inferior-ess-font-lock-keywords .
inferior-ess-R-font-lock-keywords) (inferior-ess-search-list-command .
search()
) (inferior-ess-help-command . help("%s", htmlhelp=FALSE)
) (inferior-ess-help-filetype) (inferior-ess-exit-command . q())
(inferior-ess-exit-prompt . Save workspace image? [y/n/c]: )
(inferior-ess-primary-prompt . \([A-Z][][A-Za-z0-9.]*\)*> )
(inferior-ess-secondary-prompt . + ?) (inferior-ess-start-file)
(inferior-ess-start-args . ) (ess-STERM . iESS) (ess-editor . R-editor)
(ess-pager . R-pager) (ess-language . S) (inferior-ess-exit-command .
q()
) (inferior-ess-language-start eval inferior-S-language-start)
(comint-use-prompt-regexp-instead-of-fields . t)) 
(ess-mode-1.6): editing-alist=((paragraph-start concat \s-*$\|
page-delimiter) (paragraph-separate concat \s-*$\| page-delimiter)
(paragraph-ignore-fill-prefix . t) (require-final-newline . t)
(comment-start . #) (comment-add . 1) (comment-start-skip . #+ *)
(comment-column . 40) (indent-line-function quote S-indent-line)
(parse-sexp-ignore-comments . t) (ess-set-style . ess-default-style)
(ess-local-process-name) (ess-mode-syntax-table . S-syntax-table)
(add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[ 	
]*function) (font-lock-defaults quote (ess-R-mode-font-lock-keywords nil
nil ((?\. . w) (?_ . w))))) 
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send

Finished setting up ESS-mode.
(n-i-m-l: 1)(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send
(ess-mode-1): ess-language=S, ess-dialect=R buf=brentVwtiCoint.Rnw 
(ess-mode-1.5): alist=((ess-local-customize-alist quote
R-customize-alist) (ess-dialect . R) (ess-suffix . R)
(ess-dump-filename-template ess-replace-regexp-in-string S$ ess-suffix
ess-dump-filename-template-proto) (ess-mode-syntax-table .
R-syntax-table) (ess-mode-editing-alist . R-editing-alist)
(ess-change-sp-regexp . ess-R-change-sp-regexp) (ess-help-sec-regex .
ess-help-R-sec-regex) (ess-help-sec-keys-alist .
ess-help-R-sec-keys-alist) (ess-loop-timeout . ess-S-loop-timeout)
(ess-cmd-delay . ess-R-cmd-delay) (ess-function-pattern .
ess-R-function-pattern) (ess-object-name-db-file . ess-r-namedb.el)
(ess-retr-lastvalue-command . assign(".Last.value", .ess.lvsave,
envir=baseenv())
) (ess-save-lastvalue-command . assign(".ess.lvsave", get(".Last.value",
envir=baseenv()))
) (ess-imenu-mode-function quote ess-imenu-R) (inferior-ess-program .
inferior-R-program-name) (inferior-ess-objects-command .
inferior-R-objects-command) (inferior-ess-font-lock-keywords .
inferior-ess-R-font-lock-keywords) (inferior-ess-search-list-command .
search()
) (inferior-ess-help-command . help("%s", htmlhelp=FALSE)
) (inferior-ess-help-filetype) (inferior-ess-exit-command . q())
(inferior-ess-exit-prompt . Save workspace image? [y/n/c]: )
(inferior-ess-primary-prompt . \([A-Z][][A-Za-z0-9.]*\)*> )
(inferior-ess-secondary-prompt . + ?) (inferior-ess-start-file)
(inferior-ess-start-args . ) (ess-STERM . iESS) (ess-editor . R-editor)
(ess-pager . R-pager) (ess-language . S) (inferior-ess-exit-command .
q()
) (inferior-ess-language-start eval inferior-S-language-start)
(comint-use-prompt-regexp-instead-of-fields . t)) 
(ess-mode-1.6): editing-alist=((paragraph-start concat \s-*$\|
page-delimiter) (paragraph-separate concat \s-*$\| page-delimiter)
(paragraph-ignore-fill-prefix . t) (require-final-newline . t)
(comment-start . #) (comment-add . 1) (comment-start-skip . #+ *)
(comment-column . 40) (indent-line-function quote S-indent-line)
(parse-sexp-ignore-comments . t) (ess-set-style . ess-default-style)
(ess-local-process-name) (ess-mode-syntax-table . S-syntax-table)
(add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[ 	
]*function) (font-lock-defaults quote (ess-R-mode-font-lock-keywords nil
nil ((?\. . w) (?_ . w))))) 
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send

Finished setting up ESS-mode.



> -----Original Message-----
> From: Gavin, John 
> Sent: 22 May 2006 16:22
> To: 'Rodney Sparapani'
> Subject: RE: Lisp nesting exceeds 'max-lisp-eval-depth'
> 
> Hi Rodney,
> 
> I tried to do that without success.
> 
> So my init.el file is 
> 
> (setq max-lisp-eval-depth 2500)
> (require 'ess-site)
> (R) ; start R in win2 -- assumes that the R bin directory is 
> on the path
> 
> The error is unchanged.
> 
> I am doubtful that this is a bug, as it was working fine 
> until Friday and I don't recall changing anything recently.
> I will try deinstalling everything and starting again 
> tomorrow in the hope that I spot something different.
> 
> Regards,
> 
> John.
> 
> > -----Original Message-----
> > From: Rodney Sparapani [mailto:rsparapa at mcw.edu]
> > Sent: 22 May 2006 16:06
> > To: Gavin, John
> > Subject: Re: Lisp nesting exceeds 'max-lisp-eval-depth'
> > 
> > john.gavin at ubs.com wrote:
> > 
> > >Hi Rodney,
> > >
> > >Thanks for the reply.
> > >
> > >  
> > >
> > >>What do you have max-lisp-eval-depth set to now?
> > >>    
> > >>
> > >
> > >To the best of my knowledge I have not fiddled with this
> > parameter but
> > >obviously something has happened to it.
> > >(That is why I reinstalled Xemacs and ESS to overwrite such
> > parameters
> > >with the default but that failed.)
> > >
> > >Where is this parameter normally set?
> > >It is not in my .init.el file (neither in my
> > stripped-init.el file nor
> > >in the orignal one that I have been using unchanged for some
> > time.) And
> > >I havent tried to manually overwrite it.
> > >  
> > >
> > 
> > Hi John:
> > 
> > It's a built-in variable so you didn't set it.  Mine is set 
> to 1000.  
> > Try setting it to 1000
> > and then 2500.  If that doesn't help, then there must be a bug 
> > somewhere.
> > 
> > Rodney
>

Visit our website at http://www.ubs.com

This message contains confidential information and is intend...{{dropped}}




More information about the ESS-bugs mailing list