From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: Trouble evaluating R source code blocks with C-c C-c Date: Sun, 29 May 2016 07:32:24 +0530 Message-ID: <9F364365-564B-47E0-8551-B56977278001@agrarianresearch.org> References: <2BE21056-50D3-49CE-8B0D-5467D182B7B5@agrarianresearch.org> <2E8B017B-F4AB-454D-81A1-E61F55F4F958@agrarianresearch.org> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6q3t-0006AY-2l for emacs-orgmode@gnu.org; Sat, 28 May 2016 22:02:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6q3o-0007P6-Nd for emacs-orgmode@gnu.org; Sat, 28 May 2016 22:02:39 -0400 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:32911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6q3g-0007OX-DL for emacs-orgmode@gnu.org; Sat, 28 May 2016 22:02:36 -0400 Received: by mail-pa0-x22f.google.com with SMTP id xk12so51055609pac.0 for ; Sat, 28 May 2016 19:02:28 -0700 (PDT) In-Reply-To: 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" To: William Denton Cc: org-mode mailing list > On 28-May-2016, at 7:57 pm, William Denton wrote: >=20 > On 28 May 2016, Vikas Rawal wrote: >=20 >> Thanks John. Appreciate that you cared to respond to such a vague = query. I am at a loss with this one. It does not happen all the time. I = think it happens when I am processing large datasets, and CPUs and RAM = of my system are struggling to keep up. But I could be wrong. >=20 > I've had the same kind of thing happen---but C-g (sometimes many) to = kill the command, then rerunning, usually works without any trouble. = Some strange combination of CPU and RAM and all that, the kind of thing = that's not easily reproducible. >=20 This seems to be write. Upgrading ess did not help. The odd thing is that running the same code by doing C-=E2=80=98 to open = a temporary R buffer and running to code from there works fine. But then = I come back to the org buffer, C-c C-c, and the whole thing just = freezes. The R session shows that the code is running. I have to use C-g = in the org-buffer, which releases the org buffer, and C-c several times = in the R session, to stop the commands. If I have waited enough, doing = C-c C-c at the end in the R session ends the command and actually shows = the output of the last command in R buffer. Which means that the last = command had been completed. But the output was not inserted in the org = buffer, and R was going on doing something. Let me try =E2=80=98debug-on-quit' Vikas=