Unbalanced parentheses crash Xemacs+ESS

Thomas Lumley tlumley at u.washington.edu
Fri Aug 20 18:46:02 CEST 2004

On Fri, 20 Aug 2004, Mayeul KAUFFMANN wrote:

> Hello everyone,
> I posted the following to the R devel list. (with title "Unbalanced
> parentheses printed by warnings() crash text editor")
> Specifically, I use ESS and XEmacs for Windows Users of R (by John Fox)
> which is advised to do at http://ess.r-project.org/
> with a buffer for text editing and an inferior ESS (R) buffer.
> (I downloaded the latest Xemacs and ESS a month ago).

I have had a similar problem with source(,echo=TRUE), which prints lines
only up to a certain limit and then produces unbalanced parentheses. My
problem can be worked around by extending the maximum line length, but
this warnings() probably can't.


> But all on the r-devel list agree that it was an ESS bug.
> (see
> http://www.mail-archive.com/r-devel@stat.math.ethz.ch/index.html#04256  )
> Hope ESS specialists won't say it's an R or Xemacs bug !
> Best regards,
> Mayeul
> =======================================================
> (here is my post, slightly edited)
> Most of the time, warnings are very long (they give the function that
> caused them) and thus are
> truncated. [by warnings() under R]
> Most of the time, this generates printouts with unbalanced parentheses.
> Xemacs and ESS, which do  parentheses highlighting, get very
> confused with this.
> After too many warnings, they give errors, and may even crash.
> After too many warnings (with unbalanced parentheses), Xemacs  swithes to
> an ESS-error buffer which says "error Nesting too deep for parser".
> In some case, when back in R buffer, typing any letter switches back to
> the ESS-error Buffer.
> In other case, it simply takes ages (until you kill Xemacs) or it crashes.
> There is a button to stop highlighting but it does not work.
> In most case, the R process is lost.
> Regards,
> Univ. Pierre Mendes France
> Grenoble - France
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

More information about the ESS-help mailing list