From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Re: Hang on incomplete input Date: Thu, 1 Dec 2011 11:22:21 -0600 Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C52E23C26@spexch01.WindLogics.local> References: <21A5E1E970CD46459ECBE86D6CC4B28C52E23B34@spexch01.WindLogics.local> <87mxbdkxwo.fsf@gmail.com> <21A5E1E970CD46459ECBE86D6CC4B28C52E23B99@spexch01.WindLogics.local> <10546.1322752884@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWAL2-0007C6-H9 for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 12:22:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWAL1-0006L3-4F for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 12:22:24 -0500 Received: from shrimp.windlogics.com ([216.245.170.164]:1520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWAL0-0006Ki-VS for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 12:22:23 -0500 In-Reply-To: <10546.1322752884@alphaville.dokosmarshall.org> Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "nicholas.dokos@hp.com" Cc: Rafael , "emacs-orgmode@gnu.org" > -----Original Message----- > From: nick@dokosmarshall.org [mailto:nick@dokosmarshall.org] On Behalf > Of Nick Dokos > Sent: Thursday, December 01, 2011 9:21 AM > > Forgive my ignorance: how do I check the ESS version? And what does ESS > have to do with R? I thought this was an R code block, but as you can > probably tell, I'm an ignoRamus. ESS is the mechanism by which org-mode interfaces with a running R process. And I think I left out a crucial piece of information in my first message: = I run R in a session buffer, my full .org file looks like this: ################################### #+TITLE: Test doc #+AUTHOR: Ken Williams #+BABEL: :session *Rt* * My Header Some code: #+begin_src R ddply(x, #+end_src ################################### With that change, is the hang reproducible? > If that does not bear fruit, you can M-x toggle-debug-on-quit, run the co= de > block and press C-g to get a backtrace. Rinse, repeat to see whether you > always stop at the same point. It's somewhat hit-or-miss but it can be > effective sometimes. I could *SWEAR* I had tried C-g to abort the running R command (and C-c C-c= , and C-c C-g, and about a dozen other things), but couldn't get it to reac= t. Now it aborts as desired. I must have not actually tried a simple C-g.= I can never remember which keys abort which aspect of operation. When I'm armed with that C-g, the hang is a much smaller issue! -Ken CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte= nded recipient(s) and may contain confidential and privileged information. = Any unauthorized review, use, disclosure or distribution of any kind is str= ictly prohibited. If you are not the intended recipient, please contact the= sender via reply e-mail and destroy all copies of the original message. Th= ank you.