From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tamas Papp Subject: ob-R ignores ess-eval-visibly? Date: Fri, 04 Sep 2015 09:22:19 +0200 Message-ID: <87mvx2zm1g.fsf@tamas.ihs.ac.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXlKM-00023G-EE for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 03:22:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXlKJ-0001Ml-CB for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 03:22:26 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:37065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXlKJ-0001M8-5c for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 03:22:23 -0400 Received: by wicfx3 with SMTP id fx3so8044397wic.0 for ; Fri, 04 Sep 2015 00:22:21 -0700 (PDT) Received: from tamas.ihs.ac.at (51B74675.catv.pool.telekom.hu. [81.183.70.117]) by smtp.gmail.com with ESMTPSA id i7sm2410959wib.15.2015.09.04.00.22.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2015 00:22:21 -0700 (PDT) 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: emacs-orgmode@gnu.org Hi, I prefer ESS not to wait for results of evaluating R code, especially if it takes a longer time (eg estimating a model in RStan, 1-2 minutes), so I have (setq ess-eval-visibly 'nowait) But I find that ob-R ignores this, eg evaluating #+BEGIN_SRC R :results none Sys.sleep(10) #+END_SRC I looked at the source and I think I understand why this is: the results need to be inserted into the buffer. However, could there be an exception for :results none, when they are not needed? Then I could put code which takes a long time into these blocks, and they would not block my Emacs. Best, Tamas