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:45:53 -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]:34049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUkSn-0006QC-2e for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 18:46:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUkSf-0006Kz-PZ for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 18:46:09 -0400 Received: from iport-acv1-out.ucsd.edu ([132.239.0.176]:49822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUkSf-0006Ka-GH for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 18:46:01 -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, 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