From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YP8bL+MK6WVIKQAA62LTzQ:P1 (envelope-from ) for ; Thu, 07 Mar 2024 01:31:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YP8bL+MK6WVIKQAA62LTzQ (envelope-from ) for ; Thu, 07 Mar 2024 01:31:31 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=pM2gA+He; dmarc=pass (policy=none) header.from=williamdenton.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709771491; a=rsa-sha256; cv=none; b=LAfcLB6yJMZs9PkjKSFpgr2Zx8mI+THTO9/+g5SXy5UKSH7k1Mfg9l0d0THW2I91rXnvDP uPoQZdFfsGohz8F/VQdOW6vUni17eFJBEXHVBdUVJg+JX19lZhInArzwk7D9P6Pvput2Lc JV2mW5IBcmMKSqR5YtYaLHXne5swHTEy0nQ52sr+TMYQyCJ6E+sKI0YEsHDqggEGRAHPpP gHM65uHdfjsTq7KZY++VZD65dcVokjvfrg5gXIzuJaEMjs9h1JS5zuxS3ovLA08S5CnINr Pi41pVmSZ7PlDeQ37z2MjAybHnB4Z1s2a+zaWvDM2Eeqs/26ByIvmSDtFHfl8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=pM2gA+He; dmarc=pass (policy=none) header.from=williamdenton.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709771491; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=e0hxvbfap8fbbxpgwoQf/dYjTQ1eFOUIk7Ojo/NPgZY=; b=qYRXSm7LXCVSK1+Aygi6CKj0lEy1n233W1OmRGc1r9myiXJlUnZKzod5Rm3T1zLBH1+Whe YZFy2uYmRciuadKPeT/K7Qalf+4VGSYVXE+oL43jbw6PY7o2+uOVg7sLOxuniIUiOYQlu2 JdnnSQ4ewRmOqB+50Jv7clw1Xqwb2h/M5blOCr5MmeL2joqxge5e5397qQ0FJx9caLzTlU LAbkh1JgBf7MUV3diTNyqSYu9ZB/ZeHctKWg6d2NWsieWHx/AXs+t7UOIZVA2zaOqmOnrB k3gYGug4cpjNnA18lLgFRoxDDd7+AMIUaddpXm0Q7TOvo8dVUi8kGa+g9atq2w== 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 22327CD96 for ; Thu, 7 Mar 2024 01:31:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ri1ek-0004sP-VW; Wed, 06 Mar 2024 19:30:42 -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 1ri1ed-0004s3-JD for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 19:30:35 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ri1eS-0005Sy-CT for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 19:30:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=williamdenton.org; s=protonmail; t=1709771419; x=1710030619; bh=e0hxvbfap8fbbxpgwoQf/dYjTQ1eFOUIk7Ojo/NPgZY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=pM2gA+HeaLdGNmhhquqruLudSINfLQi1RdpTZJsYj2nHGWHylaJUau1tNmZAh26J1 OQkRcXsTnJn2DRB3kAxMoKJsV9Jx4qJNSvhxTY+jX+ieaj6OWWbnhBUg0gzs+cOHZM 6ox74kFX5Xg9w08fMvV3EerIqKOap74WY8mpKLnJsVdPPY5xPv7Wb7E9dCyoobhGms rXJ21vwtKSIRcTN/F6hp19RN+z9JYyjJ0IAbqsoXGnwaVThHESAcH7zVIqojaZMHxB exHzfOMTT6v3bWJoARRMpg7sxsobaVyB+8TK2bAB3tZEOfraOgXlFOYiPjgWM7zU8W 2dFfGZtiu1z3w== Date: Thu, 07 Mar 2024 00:30:03 +0000 To: Esteban Venialgo From: William Denton Cc: emacs-orgmode@gnu.org Subject: Re: R session error (org-babel) Message-ID: In-Reply-To: <20240306105856.zxa6rs7swpez4a77@amd_server> References: <20240305141225.6suoc47623o4pvm5@dcs_server> <_Jkfyu_SinEMpuWNeI1wP3iSqMaYrUIEFXimSJ6FeBGTKuwPycCt7oDk4eI36otevGGK6alc8Di30Sj9lo5LLIaU73GZBhPBnS5ttmkGksY=@williamdenton.org> <20240306105856.zxa6rs7swpez4a77@amd_server> Feedback-ID: 95794763:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=william@williamdenton.org; helo=mail-4022.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.43 X-Spam-Score: -6.43 X-Migadu-Queue-Id: 22327CD96 X-TUID: 2dABXAMyWvZo On Wednesday, March 6th, 2024 at 05:56, Esteban Venialgo wrote: > I tried the =3Demacs -Q=3D, and still get the same problem. Before export= ing the code, I ran this lisp from the scratch pad: >=20 > ;; enable language support for R > (org-babel-do-load-languages > 'org-babel-load-languages > '((R . t) > (shell . t) > (latex . t) > (emacs-lisp . nil))) Hmm! It does work for me. I'm on Ubuntu 22.04, running Emacs and Org from = the development tree (so 30.0.50 and 9.7-pre). I ran =3Demacs -Q=3D (and also =3Dmake repro=3D from in the Org source tree= , which is another useful tool for testing), and executed these lines in a = scratch buffer: # ----- (org-babel-do-load-languages 'org-babel-load-languages '( (R . t) (shell . t) )) (add-to-list 'load-path "~/.emacs.d/elpa/ess-20240229.2054")=20 (require 'ess-r-mode) # ----- We're the same up to ESS. (I had to check the version number on ESS to get= the path right, but that's the latest release installed.) Looking back, d= id you not mention using ESS? I've never used R in Emacs without it. If y= ou weren't using ESS, what happens if you install it and use it?=20 Just for the sake of documentation: then I made an r.org file with the snip= pet and ran it, and it worked: # ---- #+begin_src R :session test A <- 1 #+end_src #---- Cheers, Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada