On Thu, 18 Sep 2014, Cook, Malcolm wrote:

Hi,

Hmm, I spoke too soon.... the problem is only partially fixed by this patch...


Trying to work with in org-mode with R code blocks attached to persistent sessions (i.e. adding ':session myRsession' to the code block header ) makes things start to break again, at least in my hands.

Really? I have been working for hours using the :session header with no problems.

What exactly breaks? Do you have an example?

FWIW, this works when I move my cursor into the source block and C-c C-c.

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC R :session myRsession
abc <- 1
abc+1
#+END_SRC
--8<---------------cut here---------------end--------------->8---

Producing

--8<---------------cut here---------------start------------->8---
#+RESULTS:
: 2
--8<---------------cut here---------------end--------------->8---

which is what I expect.

I use Org-mode version 8.3beta (release_8.3beta-366-gb2fca7.

(updated a few hours back)


I'm going to wait till things settle down before trying to upgrade ESS again.

It would really help to be sure that this is not a problem with your setup. And if you can give a simple example that shows the problem, I'd appreciate it.

BTW, how does a 'persistent' session differ from all those other sessions?

Chuck


Reply via email to