emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Berry, Charles" <ccberry@health.ucsd.edu>
To: Christian Heinrich <com-orgmode-mailinglist@gladbachcity.de>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Bug: ob-R.el breaks when :session is specified
Date: Sun, 15 May 2022 19:58:35 +0000	[thread overview]
Message-ID: <67AB2392-A57E-41D1-ACBF-1C037E8F0447@health.ucsd.edu> (raw)
In-Reply-To: <00299684ab44443c1c5e8433dc251e48ba66594c.camel@gladbachcity.de>


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


  reply	other threads:[~2022-05-15 20:01 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 [this message]
2022-05-16  5:26       ` Christian Heinrich
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=67AB2392-A57E-41D1-ACBF-1C037E8F0447@health.ucsd.edu \
    --to=ccberry@health.ucsd.edu \
    --cc=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).