From: Rainer M Krug <r.m.krug@gmail.com>
To: Tamas Papp <tkpapp@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: ob-R ignores ess-eval-visibly?
Date: Wed, 9 Sep 2015 23:10:40 +0200 [thread overview]
Message-ID: <8939495D-9F0E-4D6B-B077-29224D7C66E0@gmail.com> (raw)
In-Reply-To: <87mvx2zm1g.fsf@tamas.ihs.ac.at>
Envoyé de mon iPhone
> Le 4 sept. 2015 à 09:22, Tamas Papp <tkpapp@gmail.com> a écrit :
>
> 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.
Easy solution: C-g will bring the focus back to emacs, but R will continue.
Rainer
>
> Best,
>
> Tamas
>
prev parent reply other threads:[~2015-09-09 21:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-04 7:22 ob-R ignores ess-eval-visibly? Tamas Papp
2015-09-09 19:30 ` Aaron Ecay
2015-09-09 21:10 ` Rainer M Krug [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8939495D-9F0E-4D6B-B077-29224D7C66E0@gmail.com \
--to=r.m.krug@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tkpapp@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).