[ESS] Incomplete commands hang Emacs when using C-c C-t

Vincent Goulet vincent.goulet at act.ulaval.ca
Fri Jul 6 16:51:51 CEST 2007


Le 07-07-06 à 10:18, Sebastian P. Luque a écrit :

> On Fri, 6 Jul 2007 09:44:41 -0400,
> Randy Johnson <rjohnson at ncifcrf.gov> wrote:
>
>> Hello, I really like using C-c C-t to run my miscellaneous  
>> commands, but
>> I'm afraid that from time to time I forget a closing ')' and the  
>> process
>> hangs, presumably while waiting for me to finish the command (eg "C-c
>> C-t ls(" creates the problem). I've been force quitting and  
>> restarting
>> the session, but this can be rather distracting. Is there a more
>> graceful way to recover?
>
> Have you tried 'C-g'?  It stops current runaway computations (most  
> times)
> and returns to the process.

... or sometimes just going to the iESS buffer (the command line) and  
typing in the missing parenthesis, followed by RET? If the R prompt  
is + instead of >, the process in not hanged, it is just waiting for  
a complete expression.

Vincent




More information about the ESS-help mailing list