[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Hang on incomplete input
From: |
Rafael |
Subject: |
Re: [O] Hang on incomplete input |
Date: |
Wed, 30 Nov 2011 17:12:23 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Ken Williams <address@hidden> writes:
> Apparently, org-mode Babel (or maybe Emacs, or ESS) will hang when
> given incomplete input, like the following:
>
> #+begin_src R
> ddply(x,
> #+end_src
>
> I was just tearing my hair out trying to figure out why my code was
> hanging, because of course it's much longer and I didn't notice the
> missing paren.
>
> Is this replicable on other people's platforms too? I'm using GNU
> Emacs on Windows, with org-mode 7.7 and ESS 5.14.
>
> There are other situations where I really wish org-mode (or Emacs, or
> ESS) didn't freeze up while evaluating R code - for example if I
> accidentally did 'debug()' on a function that's now being called, or
> even just on long-running calculations. Any chance evaluation could
> be done in a separate thread or something?
In Ubuntu 10.10, emacs 23.2 and recent org, I get an *Org-Babel Error
Output* buffer, saying:
Error: unexpected '}' in:
"ddply(x,
}"
Execution halted