Re: Org babel R command session

2024-07-02 Thread Sam Crawford
On 02/07/2024 15:35, Ihor Radchenko wrote: Sam writes: I just noticed an inconsistency between the way ob-R and ob-python select executables. For python, there are 3 variables: org-babel-python-command, org-babel-python-command-session and org-babel-python-command-nonsession, with the forme

[BUG] Org babel python async can't return values

2024-06-26 Thread Sam Crawford
This may be MacOS specific, but I noticed that :async yes only works with :results output; :results value never returns. A MWE is: #+begin_src python :async yes :results value :session python   12 #+end_src This ought to return 12, but the "#+RESULTS:" field only ever shows the value of the temp

[BUG] Relative filenames for graphics output in ob-R.el [9.8-pre (release_9.7.4-80-g7fa169)]

2024-06-26 Thread Sam Crawford
When running an R session for org babel, if the working directory of that session is different to the directory of the org file, then source blocks with :results (output) graphics file will not work correctly. I believe this is due to the fact that org-babel-R-construct-graphics-device-call uses a