[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help debugging R source code block output problem with :session
From: |
Dylan Schwilk |
Subject: |
Re: Help debugging R source code block output problem with :session |
Date: |
Fri, 28 Aug 2020 23:07:41 -0500 |
User-agent: |
mu4e 1.4.3; emacs 26.3 |
Hi Jack,
The patch does fix that issue -- but it introduces a different bug
for code blocks with ~:session~: the R block now only produces
output from the last statement evaluated.
#+begin_src R :results output :exports both :session
4.0 * 3.5
log(10) # natural log
log10(10)
(3 + 1) * 5
3^-1
1/0
#+end_src
#+results:
: [1] Inf
Without the ~:session header~ the output is as it was before the
patch:
#+results:
: [1] 14
: [1] 2.302585
: [1] 1
: [1] 20
: [1] 0.3333333
: [1] Inf
-Dylan