From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OJEHKutL6GXaZQEAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Mar 2024 11:56:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OJEHKutL6GXaZQEAqHPOHw (envelope-from ) for ; Wed, 06 Mar 2024 11:56:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=L9rBMhjc; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709722603; 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=x/D+1fmYUGp+y8g3yfvwQ5PQcYkzVo+qERSTLPHstpI=; b=i+Qob1zF8ccZN3Ii8mB6hwcbVP3nZP3ny7HmKL11mBrj1i0FxSW8xJH0yfkRxrTpYGdoEH cUuMbsWLh1/tgrOw3Wwmn+6K1IBBwEC3d1sDOh6MYzUMZj+DO3gcNDAMhBYRNAj0vaCqNS b795JUBJ//HbLJy82bkJXTIqoWee8oczRzjms9bc5hB+Pwx00tI6VkY+/31rglu7UECU2Y Rkr3rXKnGjpsvSGvRtXshF8n+cD5+gqaLqPlGhgAGaZJvVYGyB006FP/PRPA9WB6aFYxQW nyM/rHMkux037SBygNTypxGqA8lXatENBvjBl0pnW2JU3UJs1GH4MVlqhHc2eQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=L9rBMhjc; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709722603; a=rsa-sha256; cv=none; b=JRGptRJlvw3PLP7EFil3WdAuWEHAGhtenblnBDqtDgRDygvQeJPUjdjWHKJFu14kwjsSkM L34upuu6avh0B/j3GbN2PcHxKojc0gQZmNPWhRoZ8IJeNdXBo3FESoBIk2aEbHvuJVraxP wZ+xHDwPo/bk2AGhvzUy2mOmXw5lwigb4rszLaLbcXA5oRuzdCrwyoeJxxUn0ihuV7jq0a sWHpxbkKdidAYeA8+RWOx1eGZY7iwFE5BKgj1Cwt69toIY9mNwW62ikbvO1inJWuf8EMyV ouZ6OhOvmJBISZVeA3YZxUQRXWbjrsCz2zUHSJkcbRQ/Y0R80itR4jjr5N0uSw== 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 761501EDE4 for ; Wed, 6 Mar 2024 11:56:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhowl-0006EI-QJ; Wed, 06 Mar 2024 05:56: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 1rhowk-0006E5-OU for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 05:56:26 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhowf-0002B9-4L for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 05:56:26 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 560F0240103 for ; Wed, 6 Mar 2024 11:56:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709722579; bh=2KYctYTgV9dTwGA5xrJH0oLzcAwZZkRihCUBVaXwx7Q=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:From; b=L9rBMhjciYNm+7Ga3Sa7FJb5ZSWyqzpH6vt4qgtI6SldLBl8Qj6R4a53ZR0/W8+m5 DFZEIzRhee+uNZM0IXe2+Hu210hbLYRN+Wn76HSdCOibDxfrEqpSPfVs7QdEKObOkY RY2qs5zMLhrCVOMh4wlgr+LLMQV+VNucwoqovFrDHReEpd+f78tvUrwQfboGg8FC1U YWXFNuoqyKL8jCcsK+/iEx1fdpJMRQWNH2n/uJetjP1Jk8VVV2fNA+mdKgc+nISy7T QEbAoj0ifZAZTkw+5lzE5CqVH/5h3YKYC4OHsmizrGatEnrgM7XzjPkwMbDvxJTdpF dBUHav2LvBRbA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TqTrL5sVdz9rxP; Wed, 6 Mar 2024 11:56:18 +0100 (CET) Date: Wed, 6 Mar 2024 10:58:56 +0000 From: Esteban Venialgo To: William Denton Cc: emacs-orgmode@gnu.org Subject: Re: R session error (org-babel) Message-ID: <20240306105856.zxa6rs7swpez4a77@amd_server> References: <20240305141225.6suoc47623o4pvm5@dcs_server> <_Jkfyu_SinEMpuWNeI1wP3iSqMaYrUIEFXimSJ6FeBGTKuwPycCt7oDk4eI36otevGGK6alc8Di30Sj9lo5LLIaU73GZBhPBnS5ttmkGksY=@williamdenton.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <_Jkfyu_SinEMpuWNeI1wP3iSqMaYrUIEFXimSJ6FeBGTKuwPycCt7oDk4eI36otevGGK6alc8Di30Sj9lo5LLIaU73GZBhPBnS5ttmkGksY=@williamdenton.org> Received-SPF: pass client-ip=185.67.36.66; envelope-from=tetumetal@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.47 X-Spam-Score: -9.47 X-Migadu-Queue-Id: 761501EDE4 X-TUID: 7kE+j1RFHjSO hi Bill, I tried the =3Demacs -Q=3D, and still get the same problem. Before exportin= g the code, I ran this lisp from the scratch pad: ;; enable language support for R (org-babel-do-load-languages 'org-babel-load-languages '((R . t) (shell . t) (latex . t) (emacs-lisp . nil))) (setq load-path '("~/.emacs.d/lisp/" "/etc/emacs" "/usr/share/emacs/site-li= sp" "/usr/share/emacs/site-lisp/auctex" "/usr/share/emacs/site-lisp/auto-co= mplete" "/usr/share/emacs/site-lisp/color-theme" "/usr/share/emacs/site-lis= p/company-mode" "/usr/share/emacs/site-lisp/counsel" "/usr/share/emacs/site= -lisp/dictionary" "/usr/share/emacs/site-lisp/elpy" "/usr/share/emacs/site-= lisp/ess" "/usr/share/emacs/site-lisp/highlight-indentation" "/usr/share/em= acs/site-lisp/ivy" "/usr/share/emacs/site-lisp/lua-mode" "/usr/share/emacs/= site-lisp/matlab" "/usr/share/emacs/site-lisp/org-mode" "/usr/share/emacs/s= ite-lisp/popup" "/usr/share/emacs/site-lisp/python-mode" "/usr/share/emacs/= site-lisp/pyvenv" "/usr/share/emacs/site-lisp/s" "/usr/share/emacs/site-lis= p/site-gentoo.d" "/usr/share/emacs/site-lisp/swiper" "/usr/share/emacs/site= -lisp/which-key" "/usr/share/emacs/site-lisp/xclip" "/usr/share/emacs/site-= lisp/yasnippet" "/usr/share/emacs/site-lisp/color-theme/themes" "/usr/share= /emacs/29.2/lisp" "/usr/share/emacs/29.2/lisp/vc" "/usr/share/emacs/29.2/li= sp/use-package" "/usr/share/emacs/29.2/lisp/url" "/usr/share/emacs/29.2/lis= p/textmodes" "/usr/share/emacs/29.2/lisp/progmodes" "/usr/share/emacs/29.2/= lisp/play" "/usr/share/emacs/29.2/lisp/org" "/usr/share/emacs/29.2/lisp/nxm= l" "/usr/share/emacs/29.2/lisp/net" "/usr/share/emacs/29.2/lisp/mh-e" "/usr= /share/emacs/29.2/lisp/mail" "/usr/share/emacs/29.2/lisp/leim" "/usr/share/= emacs/29.2/lisp/language" "/usr/share/emacs/29.2/lisp/international" "/usr/= share/emacs/29.2/lisp/image" "/usr/share/emacs/29.2/lisp/gnus" "/usr/share/= emacs/29.2/lisp/eshell" "/usr/share/emacs/29.2/lisp/erc" "/usr/share/emacs/= 29.2/lisp/emulation" "/usr/share/emacs/29.2/lisp/emacs-lisp" "/usr/share/em= acs/29.2/lisp/cedet" "/usr/share/emacs/29.2/lisp/calendar" "/usr/share/emac= s/29.2/lisp/calc" "/usr/share/emacs/29.2/lisp/obsolete")) btw, what emacs version are you using? and OS? Also, when you exported the = code, did you set up org-babel-load-languages to run R? My system details are: Gentoo Linux I tried GNU Emacs 29.2 and 28.2 org-mode version 9.6.17 Thanks for your help,=20 On 2024-03-06 06:21:10, William Denton wrote: > On Tuesday, March 5th, 2024 at 09:12, Esteban Venialgo wrote: >=20 > > I'm a newbie with org-babel, but I think I'm facing a bug for R code ex= ecution. Basically, I have a simple code for testing: > >=20 > > #+begin_src R :session test > > A =3D 1 > > #+end_src > >=20 > > I get a lisp error when I try to export this code to latex. Also, if I = remove the session name "test", the code will run in the second attempt. I'= m using Emacs version 28.2 and org-mode version 9.6.17. >=20 > I can't help understand the error message, but I did try the R sample and= have no problem running it and exporting it. I suspect it might be someth= ing about your local setup. Could you try starting with =3Demacs -Q=3D and= loading in Org and enough else to run the R snippet? How to get started w= ith that is here: >=20 > https://orgmode.org/manual/Feedback.html >=20 > It doesn't cover getting R working, but we can help with that. I can loo= k for a snippet of code if you need one. >=20 > Cheers, >=20 > Bill >=20 > -- > William Denton > https://www.miskatonic.org/ > Librarian, artist and licensed private investigator. > Toronto, Canada >=20 >=20