On Thu, 18 Sep 2014, Charles C. Berry wrote:
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)
Forget to mention:
ess-version: 14.09 [git: 9c248f1a026b6990d0cd0cd326d82854d5cafb26]
Chuck