From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Denton Subject: R source block :session errors, perhaps due to recent ESS change Date: Tue, 3 May 2016 15:55:55 -0400 (EDT) Message-ID: Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="658601964-1662045533-1462305355=:31011" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axgQn-0000uC-4F for emacs-orgmode@gnu.org; Tue, 03 May 2016 15:56:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axgQb-0001yX-ES for emacs-orgmode@gnu.org; Tue, 03 May 2016 15:56:23 -0400 Received: from shell.miskatonic.org ([65.39.236.119]:44829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axgQb-0001qr-9n for emacs-orgmode@gnu.org; Tue, 03 May 2016 15:56:17 -0400 Received: from localhost (localhost [127.0.0.1]) by shell.miskatonic.org (Postfix) with ESMTP id 0D5ACFA0CE3 for ; Tue, 3 May 2016 15:55:55 -0400 (EDT) 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" 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-1662045533-1462305355=:31011 Content-Type: TEXT/PLAIN; format=flowed; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I updated my packages today and now Org documents with R source blocks ar= e=20 failing when I try to use a running R session. If you start R and leave that session open, then run this in an Org doc, = it will=20 fail (though it will success without the :session parameter): #+BEGIN_SRC R :session :results values 1 #+END_SRC The error I get (which includes a lot of junk I can't paste; why, I don't= know)=20 is ess-eval-buffer: Wrong number of arguments: #[(start end toggle &optional= =20 message) ... junk ... [ess-local-customize-alist toggle ess-eval-visibly = message=20 proc visibly ess-force-buffer-current "Process to use: " "Starting=20 evaluation..." ess-setq-vars-local ...] 6=20 ("/home/wdenton/.emacs.d/elpa/ess-20160502.557/lisp/ess-inf.elc" . 48726)= "r P"], 5 Now, the most recent commit to lisp/ess-inf.el had the comment "Get rid o= f=20 needless `inject` argument:" https://github.com/emacs-ess/ESS/commit/6b89391a13322ff2297fb3895ed665ff2= 048fc10#diff-724cde45c58d919c6bb8e85b26faf792 Perhaps that is the cause? I suspect it's Org talking to ESS, but if it'= s a=20 problem in ESS I can take it to that mailing list. Emacs : GNU Emacs 25.1.50.29 (x86_64-unknown-linux-gnu, GTK+ Version 3.1= 6.7) of 2016-05-03 Org-mode version 8.3.4 (release_8.3.4-771-g36dbdb @=20 /usr/local/src/org-mode/lisp/) ess-version: 15.09-2 patched [elpa: 20160502.557] (loaded from=20 /home/wdenton/.emacs.d/elpa/ess-20160502.557/) Thanks, Bill --=20 William Denton =E2=86=94 Toronto, Canada =E2=86=94 https://www.miskaton= ic.org/ --658601964-1662045533-1462305355=:31011--