From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: [PATCH] WAS Re: Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 /usr/local/share/emacs/site-lisp/org/)] Date: Thu, 18 Sep 2014 15:34:45 -0700 Message-ID: References: <87bnqgzljd.fsf@kademan.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUkIR-000426-9m for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 18:35:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUkIK-0003g1-Cv for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 18:35:27 -0400 Received: from iport-bcv1-out.ucsd.edu ([132.239.0.119]:10627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUkIK-0003fb-3a for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 18:35:20 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Cook, Malcolm" Cc: "'emacs-orgmode@gnu.org'" 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