[ESS] R-mode: forward-sexp: Scan error: "Unbalanced parentheses"

Rodney Sparapani rsparapa at mcw.edu
Tue Dec 6 14:04:53 CET 2011


Aleksandar Blagotić wrote:
> I managed to reproduce the error on Xubuntu 11.10 installed on VM.
> With nothing more than
> 
> sudo apt-get install emacs r-base-dev ess
> 
> should I go even deeper and blame my CPU architecture? =)
> 
> aL3xa

I can reproduce it.  Just to clarify, this behavior is in .R rather
than *R*:

Debugger entered--Lisp error: (scan-error "Unbalanced parentheses" 33 1)
   scan-sexps(35 -1)
   forward-sexp(-1)
   ess-continued-statement-p()
   S-calculate-indent(nil)
   S-indent-line()
   indent-according-to-mode()
   ad-Orig-newline-and-indent()
   (setq ad-return-value (ad-Orig-newline-and-indent))
   (if (ess-roxy-entry-p) (progn (setq ad-return-value ...) (insert 
...)) (setq ad-return-value (ad-Orig-newline-and-indent)))
   (let (ad-return-value) (if (ess-roxy-entry-p) (progn ... ...) (setq 
ad-return-value ...)) ad-return-value)
   newline-and-indent()
   call-interactively(newline-and-indent nil nil)



More information about the ESS-help mailing list