[ESS] Emacs freezes upon 'Starting evaluation'

Vitalie Spinu spinuvit.list at gmail.com
Thu Oct 27 16:18:29 CEST 2011


Hi Paul,

Can you please provide the troublesome code?

If even C-g does not help, it's something wrong with subprocess
communication and then it's the Emacs issue. I used to have
out-of-the-blue hangs on Windows before, but never on Linux.

Vitalie.

On Thu, Oct 27, 2011 at 10:07 AM, Paul Metzner <paul.metzner at gmail.com> wrote:
> Dear all,
>
> I dug up this conversation on this list from March 2006 because I'm experiencing the very same problem.
>
> http://osdir.com/ml/emacs.ess.general/2006-03/msg00107.html
>
> Sometimes when I send a region from an R script to the R buffer, Emacs freezes with the modeline saying 'Starting evaluation'. C-g or C-C won't help, neither will 'killall R' from another console. I'll have to 'killall Emacs', eventually. The same bit of code will evaluate nicely if I send it over to the R buffer line by line.
> I followed Martin Maechler's suggestion and ran the following command on my script:
>
> tr -d '\-.,<=:)(][[:alnum:]' < script.R | od -a
>
> I get all kinds of characters, not only 'sp' and 'nl' (%, \, $, {, *, etc.). The file is encoded as UTF-8 but I get the same characters when I set the encoding to Latin-1. Here are my system specs:
>
> OS: Darwin 10.8.0 Darwin Kernel Version 10.8.0 (OS X 10.6.8)
> Emacs: GNU Emacs 23.3
> ESS: 5.13
> R: 2.13.2
>
> Does anybody else experience the same problem? I wonder if there's a solution to the problem.
>
> Best,
> Paul
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>



More information about the ESS-help mailing list