[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] async process in R
From: |
Berry, Charles |
Subject: |
Re: [PATCH] async process in R |
Date: |
Mon, 27 Sep 2021 18:28:33 +0000 |
Jeremie,
> On Sep 26, 2021, at 10:13 AM, Jeremie Juste <jeremiejuste@gmail.com> wrote:
>
> But for the time being result output produces the following output.
>
> #+begin_src R :session *R* :results output :async
> Sys.sleep(1)
> print(1:5)
> #+end_src
>
> #+RESULTS:
> : > Sys.sleep(1)
> : > print(1:5)
> : [1] 1 2 3 4 5
> : > 'ob_comint_async_R_end_53c0a42fed17cf78f5508e5293029430'
>
>
> From my understanding the async command of python does not suffer from
> this issue. I'm not sure if the issue needs to be solve at the ob-R.el
> or at the ob-core.el. I welcome any comments on this patch or any idea
> to move it forward.
It looks like you have `(setq ess-eval-visibly t)' here. I think that is a
default setting.
With (setq ess-eval-visibly nil), I get
#+RESULTS:
: >
: [1] 1 2 3 4 5
: > >
which is better, but the prompts still need cleaning along the lines of
`org-babel-R-evaluate-session'.
It seems like this is an ob-R.el issue.
HTH,
Chuck
Re: [PATCH] async process in R, Bastien, 2021/09/27
Re: [PATCH] async process in R,
Berry, Charles <=
- Re: [PATCH] async process in R, Jeremie Juste, 2021/09/27
- Re: [PATCH] async process in R, Jeremie Juste, 2021/09/27
- Re: [PATCH] async process in R, Berry, Charles, 2021/09/27
- Re: [PATCH] async process in R, Berry, Charles, 2021/09/27
- Re: [PATCH] async process in R, Jeremie Juste, 2021/09/28
- Re: [PATCH] async process in R, Berry, Charles, 2021/09/28
- Re: [PATCH] async process in R, Jeremie Juste, 2021/09/28