From: Christian Heinrich <com-orgmode-mailinglist@gladbachcity.de>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: ob-R.el breaks when :session is specified
Date: Mon, 16 May 2022 07:26:27 +0200 [thread overview]
Message-ID: <66e988ab07a1662a548acf817bd6d1cdeef24664.camel@gladbachcity.de> (raw)
In-Reply-To: <67AB2392-A57E-41D1-ACBF-1C037E8F0447@health.ucsd.edu>
[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]
Hi Charles,
ob-R.el requires ess and the (require 'package) makes sure the ~/.emacs.d/elpa/ directory was added
to the load path. But you were somewhat right already: the loaded ESS was years old and caused the
issue.
Thanks for your help!
Christian
On Sun, 2022-05-15 at 19:58 +0000, Berry, Charles wrote:
>
> Um...
>
> > On May 15, 2022, at 2:46 AM, Christian Heinrich <com-orgmode-mailinglist@gladbachcity.de> wrote:
> >
> > I run
> >
> > emacs -q --load /tmp/init.el --file=/tmp/test.org
> >
> > with my /tmp/init.el being only
> >
> > > (require 'package)
> > > (package-initialize)
> > > (add-to-list 'load-path "~/.emacs.d/straight/repos/org/lisp/")
> > > (require 'org)
> > >
> > > ;(require 'ess-site)
>
> The line above is commented out. So how do you load ess-site?
>
>
> > > (org-babel-do-load-languages
> > > 'org-babel-load-languages
> > > '((R . t)))
> >
> > I hope this constitutes a minimal example for a config - please correct me if I'm wrong.
>
>
> Just spitballing here:
>
> Have you tried instrumenting `org-babel-R-evaluate-session'?
>
> Maybe watching changes made to the session buffer on first evaluation and comparing to subsequent
> evals helps.
>
> HTH,
> Chuck
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-05-16 5:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-15 6:00 Bug: ob-R.el breaks when :session is specified Christian Heinrich
2022-05-15 8:08 ` Ihor Radchenko
2022-05-15 9:46 ` Christian Heinrich
2022-05-15 19:58 ` Berry, Charles
2022-05-16 5:26 ` Christian Heinrich [this message]
2022-05-15 14:16 ` Jeremie Juste
2022-05-15 18:06 ` Christian Heinrich
2022-05-15 22:21 ` Jeremie Juste
2022-05-16 5:23 ` Christian Heinrich
2022-05-16 5:24 ` Christian Heinrich
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=66e988ab07a1662a548acf817bd6d1cdeef24664.camel@gladbachcity.de \
--to=com-orgmode-mailinglist@gladbachcity.de \
--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).