From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SCR0FYbhgWKwcQAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 07:30:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SJxgFYbhgWLccAEA9RJhRA (envelope-from ) for ; Mon, 16 May 2022 07:30:46 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 14B19CBA4 for ; Mon, 16 May 2022 07:30:45 +0200 (CEST) Received: from localhost ([::1]:60572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqTJc-00053p-OT for larch@yhetil.org; Mon, 16 May 2022 01:30:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqTFY-0003FK-0X for emacs-orgmode@gnu.org; Mon, 16 May 2022 01:26:32 -0400 Received: from gallois.livando.com ([31.170.109.33]:51004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqTFW-0006OK-6M for emacs-orgmode@gnu.org; Mon, 16 May 2022 01:26:31 -0400 X-PDA-ORIGIN: gallois.livando.com Received: (qmail 922035 invoked from network); 16 May 2022 05:26:28 -0000 Received: by simscan 1.4.0 ppid: 922029, pid: 922032, t: 0.1129s scanners: clamav: 0.103.6/m:62/d:26542 Received: from unknown (HELO ?192.168.0.77?) (christian@gladbachcity.de@95.90.192.16) by 0 with SMTP; 16 May 2022 05:26:28 -0000 Message-ID: <66e988ab07a1662a548acf817bd6d1cdeef24664.camel@gladbachcity.de> Subject: Re: Bug: ob-R.el breaks when :session is specified From: Christian Heinrich To: emacs-orgmode@gnu.org Date: Mon, 16 May 2022 07:26:27 +0200 In-Reply-To: <67AB2392-A57E-41D1-ACBF-1C037E8F0447@health.ucsd.edu> References: <877d6n2p6t.fsf@localhost> <00299684ab44443c1c5e8433dc251e48ba66594c.camel@gladbachcity.de> <67AB2392-A57E-41D1-ACBF-1C037E8F0447@health.ucsd.edu> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-EkBXo+48Hzl3CSgV3fP1" User-Agent: Evolution 3.42.3-1 MIME-Version: 1.0 Received-SPF: none client-ip=31.170.109.33; envelope-from=com-orgmode-mailinglist@gladbachcity.de; helo=gallois.livando.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652679046; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=31u/zRCBvc04HAsza0Ez/G6sHLiU+z0u9qk+6e8LifE=; b=RAjQ3bLiIWnN9lBbk5mA7MfaLSBZ5dGeszlO7OWyJbV3OCtXcZF6+p6bsAMUCliZxAm1dC 7ohHlMY6nzWyTrpzyETaOLg8hPbrmlns/OqDuKPVG5IHLN8vhJjSeV47X6RMeW2ZkwOhXd 9/oz4K9hn24gcC0gR6OzVpoyS+i6igMuvIJXcVLDpKFYEWhcENkVyyGnAGvpQvXSbcMngm jb6HOx9Kvm1Q7xLLykddIXXJJG7hfuwrBIAikGHDSkZRCALaniMEbjxYHg8XCP7PrNnJGv Eaedk/01mduqEXYm/nXpDXBfYJaonR1AsZBF7JvvcKvok9zS/3osT1rs7Mle+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652679046; a=rsa-sha256; cv=none; b=cE4W+RpgbrgExClmno9JOcK0KjGzqIi6AVg/lThDD6rdolGPzG67bkGrmJl4FA+qsgaL2w 2xRorMAD+ZPDytSJSfJQvF+0ZwqSEIKb7SNhZZeDA8WtouQuXJ7Sq88CWrPVmMhYLcd7OG 3JMt8Qi35k8xxJLIuNXXVFGUu/SwLNHD9VExTAA+4QY6VXHxxw9Qdu8+uvDD2PDS1Ef8IY 8QNTZXUkQ0itbt+5RXbhAsZYBfFuVmHDmFL8LE++NCfd0R8TMqhlPHaS4nnCxzWEEGHlBQ OQlfNveu6TIMsDh9pKO1hijQBDo/F/Pr2vNoOh6DXFxsvwRxuu4LpiiOs7WydQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 14B19CBA4 X-Spam-Score: -6.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: Z5g4BceyyJxq --=-EkBXo+48Hzl3CSgV3fP1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Charles, ob-R.el requires ess and the (require 'package) makes sure the ~/.emacs.d/e= lpa/ directory was added to the load path. But you were somewhat right already: the loaded ESS was y= ears old and caused the issue. Thanks for your help! Christian On Sun, 2022-05-15 at 19:58 +0000, Berry, Charles wrote: >=20 > Um... >=20 > > On May 15, 2022, at 2:46 AM, Christian Heinrich wrote: > >=20 > > I run=20 > >=20 > > emacs -q --load /tmp/init.el --file=3D/tmp/test.org=20 > >=20 > > with my /tmp/init.el being only > >=20 > > > (require 'package) > > > (package-initialize) > > > (add-to-list 'load-path "~/.emacs.d/straight/repos/org/lisp/") > > > (require 'org) > > >=20 > > > ;(require 'ess-site) >=20 > The line above is commented out. So how do you load ess-site? >=20 >=20 > > > (org-babel-do-load-languages > > > =C2=A0 'org-babel-load-languages > > > =C2=A0=C2=A0 '((R . t))) > >=20 > > I hope this constitutes a minimal example for a config - please correct= me if I'm wrong. >=20 >=20 > Just spitballing here: >=20 > Have you tried instrumenting `org-babel-R-evaluate-session'?=20 >=20 > Maybe watching changes made to the session buffer on first evaluation and= comparing to subsequent > evals helps. >=20 > HTH, > Chuck >=20 --=-EkBXo+48Hzl3CSgV3fP1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+9lGLw1S8YBUC27di84V01FvzDwFAmKB4IMACgkQi84V01Fv zDyHwA//Y9USrqOojks0olCJDjOWK0dRbtBA+aWy4V5vFz3CNw8GPt5KVt/aV9HS 47ZgwRP77q6tthQiyf9eBjBVvJGvhhnIbARvkvAEKuy5r9JMfXykxda+0aALRHLU OR5yrC9rNhPv0uVpLfqYAP5JTh684CUZKY26Pu1ymThyvx/zaMFQJ4lT3x/F7Yxw 62P7zcTmeyptzdQ2W82pJpuumBH68yF0dnBJgo0rTiseut7qnn32bRkjob2c1bj0 Rd9NPtdRkkZk8p84nLgyDDnHYa1BYIuy3PZdQaPc3qZxsboi4Z7D/7KpaIiUujLA ZbVUjMqzVIZk/VAqjfng8e/k8svGwr8OW1F7gIj7DSgL7oFwq90mzkMhxSPmdaY/ oKLiuHAzU2iPtSEcLWdDr33MBW0oAB2L0xSsHe6K+7Fz2BJ4ww2G2kmBA23mU+yS uiStaFDmJHcVTbTIBBslOdCuTWNXoKIj28oje83K7t3MtrxdwBMtwWdz09cyn9Gr n4f+o+qAL5rG/PoAN2FOuxOj37n46bFmMZgETg7bMhu+Lb8N7JZdjfeVk/p58l10 0oTsinwDShHdkes8U4PZzm2ROh007nK7h+AIj2IEsfVmJaiaYC5AXj+RDTT739ft GBzMCANBqQsYGZBawybPxy10bc79DU1JW2TTCDB7XO7IUoYNW4o= =0h1+ -----END PGP SIGNATURE----- --=-EkBXo+48Hzl3CSgV3fP1--