From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 YE6bKdRbh2M/KAEAbAwnHQ (envelope-from ) for ; Wed, 30 Nov 2022 14:34:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iD16KdRbh2NvQAAAauVa8A (envelope-from ) for ; Wed, 30 Nov 2022 14:34:12 +0100 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 6203D3B2D6 for ; Wed, 30 Nov 2022 14:34:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0NDK-0008PW-SQ; Wed, 30 Nov 2022 08:33:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0NDI-0008PK-Jo for emacs-orgmode@gnu.org; Wed, 30 Nov 2022 08:33:24 -0500 Received: from v-zimmta03.u-bordeaux.fr ([147.210.215.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0NDG-0007xE-Em for emacs-orgmode@gnu.org; Wed, 30 Nov 2022 08:33:24 -0500 Received: from v-zimmta03.u-bordeaux.fr (localhost [127.0.0.1]) by v-zimmta03.u-bordeaux.fr (Postfix) with ESMTP id B426F180016E for ; Wed, 30 Nov 2022 14:33:17 +0100 (CET) Received: from fsantos-portable (i16-les03-ix2-176-181-99-60.dsl.dyn.abo.bbox.fr [176.181.99.60]) by v-zimmta03.u-bordeaux.fr (Postfix) with ESMTPSA id 8490F1800152 for ; Wed, 30 Nov 2022 14:33:17 +0100 (CET) From: =?utf-8?Q?Fr=C3=A9d=C3=A9ric_Santos?= To: emacs-orgmode@gnu.org Subject: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)] Date: Wed, 30 Nov 2022 14:33:16 +0100 Message-ID: <877czca7oj.fsf@u-bordeaux.fr> MIME-Version: 1.0 Content-Type: text/plain X-AV-Checked: ClamAV using ClamSMTP Received-SPF: pass client-ip=147.210.215.83; envelope-from=frederic.santos@u-bordeaux.fr; helo=v-zimmta03.u-bordeaux.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669815252; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=jdv9Oii17qSAaIIpVBNPPHvsnKb6dIiXJWCMXJSTz2M=; b=q9fgPoBTUsyFRxZ4p8u6+fIPyiUlhKib0m+B7WUeojcLtUV3lXY7AeLl2yEUUkEF7rmDzm paJZIQqJNRuDObFTIkJwPjBF63V5H460HmThXE2evlc/ErGRdJLkDkPOZ+6l5WxC82gJ1H gnXlQsNxEly92zJkYEDmnA3v9xVFxS5eemOMUqbLyZlLh+kMVvG83py//hnaPrW8Br+PYt s0ZC/xD8jA6vKyWwT6qCVj909WGfmsY7/H0h12MqeUVQN1M5mTspC6RwN6ZEDuMdRacQvO CnVx/cKs8N5Qqm30wsuao3wxahgqamj9bYBAYR6Vo7HqIbdcqjY4D3gjEolCBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669815252; a=rsa-sha256; cv=none; b=metXuT/3coMEa7bFywSP/V0bkLln4pn8xInIhnirSnZU6NZ+1cuhDBDmRZNICH3ci8SCUK A2pUhtKc0HGlOX42kmHlYFwB+QaCcjTGX7gGAb6OZjqBgndo+02xS0xeL1S1UXKfu6BkKq yqga1SVN+4co6eqD5PCaTbYzrofN5FG8dYxUOSaLe3eSGham4YcUqx1MNqtt34oe6iaSVM +oHet+626c7cGbYGgcLHFcC5pOjmb/m6MZPThSR5Cyi/VE+QwGvK9mAOhvFSPjAE/2eOi8 LHp7fWLbg2IIvUAIwzl/01y7a1/Ri6MtWUMU63BGKPq3r8HjThz7fj38l6Lh6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=u-bordeaux.fr (policy=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: 2.04 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=u-bordeaux.fr (policy=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: 6203D3B2D6 X-Spam-Score: 2.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: ewc6eky9CjsV Hi everyone, With Org 9.6 released yesterday, I noticed a bug with ob-R: all R code blocks with ":results output :session *R*" in the header will return no output at all (although the code is correctly processed in the inferior ESS buffer). Steps to follow to reproduce the issue: 1. Create a minimal init.el file with this content (adapting paths if needed): (add-to-list 'load-path "~/.emacs.d/elpa/org-9.6/") (require 'org) (add-to-list 'load-path "~/.emacs.d/elpa/ess-20221124.756/") (require 'ess-site) (org-babel-do-load-languages 'org-babel-load-languages '((org . t) (R . t))) 2. Open emacs -Q -l init.el 3. Create an Org document with this content: #+begin_src R :results output :session *R* x <- 2:4 print(x) #+end_src 4. Try to evaluate the R code block: you'll only get an empty output. Note that external eval (i.e., without the :session arg) still works as expected, and that other results types (e.g., :results value) still work as well. Bug confirmed by other ESS users on the mailing list: https://stat.ethz.ch/pipermail/ess-help/2022-November/013162.html Version info: ============ Emacs : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-09-12 Org : Org mode version 9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/) ESS : ess-version: 18.10.3snapshot [elpa: 20221124.756]