* R source block :session errors, perhaps due to recent ESS change
@ 2016-05-03 19:55 William Denton
2016-05-03 20:58 ` John Hendy
0 siblings, 1 reply; 4+ messages in thread
From: William Denton @ 2016-05-03 19:55 UTC (permalink / raw
To: emacs-orgmode
[-- 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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: R source block :session errors, perhaps due to recent ESS change
2016-05-03 19:55 R source block :session errors, perhaps due to recent ESS change William Denton
@ 2016-05-03 20:58 ` John Hendy
2016-05-03 22:08 ` John Hendy
0 siblings, 1 reply; 4+ messages in thread
From: John Hendy @ 2016-05-03 20:58 UTC (permalink / raw
To: William Denton; +Cc: emacs-orgmode
On Tue, May 3, 2016 at 2:55 PM, William Denton <wtd@pobox.com> wrote:
> 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
Looks like I get the same after upgrading ess.
#+begin_quote (Messages buffer)
Type C-h m for help on ESS version 16.04
Cannot read history file /home/jwhendy/Desktop/.Rhistory
ess-tracebug mode enabled
ess-eval-buffer: Wrong number of arguments: #[(start end toggle
&optional message) "ÆÇ!ÃÈ!\b\x13ÉÊÀ!J!Ë \x1f
?
\v%ÌÍ \x1c^[\x1dÎ \x0e\x10\x0e\x11
\v%,\x0e\x12>Ï \x0e\x10\x0e\x11D" [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/jwhendy/.elisp/ess/lisp/ess-inf.elc" . 49640) "r
P"], 5
#+end_quote
ess-version: 16.04 [git: e5bd50a490da8715efed7addf05da05127fa6732]
(loaded from /home/jwhendy/.elisp/ess/)
That's odd to me, though, as you show 15.09... I ran fine before
doing a make clean, ESS git pull, and make. I didn't touch Org. So I
suspect it's an ESS thing?
Org-mode version 8.3.4 (release_8.3.4-753-gda4db33 @
/home/jwhendy/.elisp/org/lisp/)
John
>
> 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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: R source block :session errors, perhaps due to recent ESS change
2016-05-03 20:58 ` John Hendy
@ 2016-05-03 22:08 ` John Hendy
2016-05-04 16:29 ` William Denton
0 siblings, 1 reply; 4+ messages in thread
From: John Hendy @ 2016-05-03 22:08 UTC (permalink / raw
To: William Denton; +Cc: emacs-orgmode
On Tue, May 3, 2016 at 3:58 PM, John Hendy <jw.hendy@gmail.com> wrote:
> On Tue, May 3, 2016 at 2:55 PM, William Denton <wtd@pobox.com> wrote:
>> I updated my packages today and now Org documents with R source blocks are
>> failing when I try to use a running R session.
Submitted a github issue on this:
- https://github.com/emacs-ess/ESS/issues/328
John
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: R source block :session errors, perhaps due to recent ESS change
2016-05-03 22:08 ` John Hendy
@ 2016-05-04 16:29 ` William Denton
0 siblings, 0 replies; 4+ messages in thread
From: William Denton @ 2016-05-04 16:29 UTC (permalink / raw
To: John Hendy; +Cc: emacs-orgmode
[-- Attachment #1: Type: TEXT/PLAIN, Size: 690 bytes --]
Thanks. The issue is fixed now, so Org R users can upgrade ESS without fear.
It seems there's something in ESS that they didn't know anything relied on, but
it turns out Org does.
Bill
On 3 May 2016, John Hendy wrote:
> On Tue, May 3, 2016 at 3:58 PM, John Hendy <jw.hendy@gmail.com> wrote:
>> On Tue, May 3, 2016 at 2:55 PM, William Denton <wtd@pobox.com> wrote:
>>> I updated my packages today and now Org documents with R source blocks are
>>> failing when I try to use a running R session.
>
> Submitted a github issue on this:
> - https://github.com/emacs-ess/ESS/issues/328
>
> John
>
--
William Denton ↔ Toronto, Canada ↔ https://www.miskatonic.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-04 16:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03 19:55 R source block :session errors, perhaps due to recent ESS change William Denton
2016-05-03 20:58 ` John Hendy
2016-05-03 22:08 ` John Hendy
2016-05-04 16:29 ` William Denton
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.