From mboxrd@z Thu Jan  1 00:00:00 1970
From: William Denton <wtd@pobox.com>
Subject: R code blocks and 'could not find function ".ess.eval"'
Date: Tue, 28 Oct 2014 07:07:35 -0400 (EDT)
Message-ID: <alpine.DEB.2.02.1410280653400.2648@shell.miskatonic.org>
Mime-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="658601964-1108912075-1414493681=:2648"
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39525)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <wtd@pobox.com>) id 1Xj4cn-0008Mi-Uv
	for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 07:07:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <wtd@pobox.com>) id 1Xj4cj-0000H5-Gp
	for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 07:07:41 -0400
Received: from shell.miskatonic.org ([65.39.236.119]:33521)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <wtd@pobox.com>) id 1Xj4cj-0000Gy-Cw
	for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 07:07:37 -0400
Received: from localhost (localhost [127.0.0.1])
	by shell.miskatonic.org (Postfix) with ESMTP id 00F813DA8321
	for <emacs-orgmode@gnu.org>; Tue, 28 Oct 2014 07:07:36 -0400 (EDT)
Content-ID: <alpine.DEB.2.02.1410280656340.2648@shell.miskatonic.org>
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--658601964-1108912075-1414493681=:2648
Content-Type: TEXT/PLAIN; CHARSET=UTF-8; format=flowed
Content-ID: <alpine.DEB.2.02.1410280656341.2648@shell.miskatonic.org>
Content-Transfer-Encoding: quoted-printable

This problem was reported last month and then again earlier this month, f=
or=20
example here:

https://lists.gnu.org/archive/html/emacs-orgmode/2014-10/msg00178.html

I'm running Emacs 25.0.50.2, Org 8.2.10 and ESS 14.1x.  I'm getting a lot=
 of

    Error: could not find function ".ess.eval"

errors when evaluating R code blocks, even simple ones like this:

   #+BEGIN_SRC R :session :exports results
   1 + 1
   #+END_SRC

I have a more complicated Org file with a bunch of R in it that I want to=
 export=20
to a PDF, but I get this:

    Args out of range: #<killed buffer>, 0 ,1

I've been trying to debug it and seemed to narrow down a minimal example =
to=20
whether or not a simple block had ":exports results" in it, but yesterday=
 when=20
working on this some process would go haywire and my machine would slow d=
own=20
and then freeze!  I had to force a reboot.  I've never had Emacs do that =
before.

I see that a patch was introduced for ob-R.el that fixes the 'could not f=
ind=20
function ".ess.eval"' problem---will that be pushed into the main release=
 soon?

And has anyone else been running into problems like this recently?  From =
what I=20
saw in the archives it looks like it went away for most people.

Bill
--=20
William Denton =E2=86=94  Toronto, Canada =E2=86=94  https://www.miskaton=
ic.org/
--658601964-1108912075-1414493681=:2648--