From: William Denton <wtd@pobox.com>
To: emacs-orgmode@gnu.org
Subject: R source block :session errors, perhaps due to recent ESS change
Date: Tue, 3 May 2016 15:55:55 -0400 (EDT) [thread overview]
Message-ID: <alpine.DEB.2.02.1605031537510.31011@shell.miskatonic.org> (raw)
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1536 bytes --]
I updated my packages today and now Org documents with R source blocks are
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
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)
is
ess-eval-buffer: Wrong number of arguments: #[(start end toggle &optional
message) ... junk ... [ess-local-customize-alist toggle ess-eval-visibly message
proc visibly ess-force-buffer-current "Process to use: " "Starting
evaluation..." ess-setq-vars-local ...] 6
("/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 of
needless `inject` argument:"
https://github.com/emacs-ess/ESS/commit/6b89391a13322ff2297fb3895ed665ff2048fc10#diff-724cde45c58d919c6bb8e85b26faf792
Perhaps that is the cause? I suspect it's Org talking to ESS, but if it's a
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.16.7)
of 2016-05-03
Org-mode version 8.3.4 (release_8.3.4-771-g36dbdb @
/usr/local/src/org-mode/lisp/)
ess-version: 15.09-2 patched [elpa: 20160502.557] (loaded from
/home/wdenton/.emacs.d/elpa/ess-20160502.557/)
Thanks,
Bill
--
William Denton ↔ Toronto, Canada ↔ https://www.miskatonic.org/
next reply other threads:[~2016-05-03 19:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-03 19:55 William Denton [this message]
2016-05-03 20:58 ` R source block :session errors, perhaps due to recent ESS change John Hendy
2016-05-03 22:08 ` John Hendy
2016-05-04 16:29 ` William Denton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.02.1605031537510.31011@shell.miskatonic.org \
--to=wtd@pobox.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).