From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henrik Singmann 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: Wed, 08 Oct 2014 11:57:03 +0200 Message-ID: References: <87bnqgzljd.fsf@kademan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xbnzs-0000lz-3j for emacs-orgmode@gnu.org; Wed, 08 Oct 2014 05:57:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xbnzi-0007D6-BR for emacs-orgmode@gnu.org; Wed, 08 Oct 2014 05:57:28 -0400 Received: from plane.gmane.org ([80.91.229.3]:52145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xbnzi-0007Cv-5v for emacs-orgmode@gnu.org; Wed, 08 Oct 2014 05:57:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xbnzg-0005bw-F9 for emacs-orgmode@gnu.org; Wed, 08 Oct 2014 11:57:16 +0200 Received: from 130.60.233.84 ([130.60.233.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Oct 2014 11:57:16 +0200 Received: from henrik.singmann by 130.60.233.84 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Oct 2014 11:57:16 +0200 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: emacs-orgmode@gnu.org I unfortunately can confirm that org-babel-R-initiate-session contains the lines you mentioned at exactly 15 lines down. Deleting ob-R.elc (which was of the same date as ob-R.el) didn't affect anything as did reloading org uncompiled (C-u C-c C-x !). Henrik Am 08.10.2014 um 03:21 schrieb Charles Berry: > Henrik Singmann psychologie.uni-freiburg.de> writes: > >> >> Dear all, >> >> Sorry to resurrect this thread but I still have the issue discussed here. > I get "Error: could not find >> function ".ess.eval"" when inside an R code block with :session *R* but >> not without :session *R*. >> > > Please confirm that when you do > > M-x find-function RET org-babel-R-initiate-session RET > > and scroll down 15 lines: > > M-1 M-5 > > you see something like this: > > (ess-wait-for-process > (get-process (or ess-local-process-name > ess-current-process-name))) > > > If not, there is something broken in your setup. > > If you do see that code, please do > > C-x d > > > and verify that ob-R.el is older than ob-R.elc. If it is not older delete > ob-R.elc and restart. > > Let us know how it goes either way. > > Chuck > > > > -- Dr. Henrik Singmann Albert-Ludwigs-Universität Freiburg, Germany http://www.psychologie.uni-freiburg.de/Members/singmann