From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: minor bug in babel with silent output and remote R session Date: Wed, 10 Apr 2013 14:44:29 +0200 Message-ID: <87zjx6ed7d.fsf@bzg.ath.cx> References: <87ppy6sq69.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPuvA-0006UD-7o for emacs-orgmode@gnu.org; Wed, 10 Apr 2013 09:18:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPuv2-00035E-D4 for emacs-orgmode@gnu.org; Wed, 10 Apr 2013 09:18:40 -0400 Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]:48083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPuv2-00034j-4N for emacs-orgmode@gnu.org; Wed, 10 Apr 2013 09:18:32 -0400 Received: by mail-we0-f177.google.com with SMTP id o45so355035wer.8 for ; Wed, 10 Apr 2013 06:18:31 -0700 (PDT) In-Reply-To: (Thomas Alexander Gerds's message of "Tue, 09 Apr 2013 10:13:10 +0200") 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: Thomas Alexander Gerds Cc: emacs-orgmode@gnu.org Hi Thomas, thanks for the follow-up. Thomas Alexander Gerds writes: > I think that I can describe the problem a bit better now. It is not > related to the silent option but occurs whenever ":results value". > > Emacs freezes due to the following line in > org-babel-comint-eval-invisibly-and-wait-for-file > > (while (not (file-exists-p file)) (sit-for (or period 0.25))) > > it seems that R cannot transfer the file and hence this is an endless > loop. I'm not knowledgeable enough in this area to provide a fix, maybe someone else will. Best, -- Bastien