emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ob-R ignores ess-eval-visibly?


From: Rainer M Krug
Subject: Re: [O] ob-R ignores ess-eval-visibly?
Date: Wed, 9 Sep 2015 23:10:40 +0200


Envoyé de mon iPhone

> Le 4 sept. 2015 à 09:22, Tamas Papp <address@hidden> 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
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]