[BUG] babel R src block with :results output hangs [9.5.2 (9.5.2 @ /usr/share/emacs/site-lisp/elpa/org-9.5.2/)]

2022-10-06 Thread JM Nunes



Source blocks with header arg ':results output' either locally or via
#+PROPERTY: do never return (waited 10 minutes before C-g).
Editing the block in a major mode buffer (C-c') shows the correct
results in the iess R session.

The block:

#+BEGIN_SRC R :results output
  sqrt(-4)  #+END_SRC

should show:

[1] NaN
Warning message:
In sqrt(-4) : NaNs produced


Emacs  : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.30, cairo version 1.16.0)

 of 2022-01-24, modified by Debian
Package: Org mode version 9.5.2 (9.5.2 @ 
/usr/share/emacs/site-lisp/elpa/org-9.5.2/)




[Solved] was: [BUG] babel R src block with :results output hangs [9.5.2 (9.5.2 @ /usr/share/emacs/site-lisp/elpa/org-9.5.2/)]

2022-10-06 Thread JM Nunes

Dear you,

I continued looking for information to understand the bug and come 
across another bug that lead me to update my ESS package and that solved 
the problem.



Thank you anywayy.
Kind regards,



On 05/10/2022 23.47, JM Nunes wrote:


Source blocks with header arg ':results output' either locally or via
#+PROPERTY: do never return (waited 10 minutes before C-g).
Editing the block in a major mode buffer (C-c') shows the correct
results in the iess R session.

The block:

#+BEGIN_SRC R :results output
   sqrt(-4)  #+END_SRC

should show:

[1] NaN
Warning message:
In sqrt(-4) : NaNs produced


Emacs  : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.30, cairo version 1.16.0)

  of 2022-01-24, modified by Debian
Package: Org mode version 9.5.2 (9.5.2 @ 
/usr/share/emacs/site-lisp/elpa/org-9.5.2/)