From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oP5LGhNvaGNPUgEAbAwnHQ (envelope-from ) for ; Mon, 07 Nov 2022 03:36:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id /1ZAGhNvaGPa7gAA9RJhRA (envelope-from ) for ; Mon, 07 Nov 2022 03:36:03 +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 23E5F362F1 for ; Mon, 7 Nov 2022 03:36:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orrz5-0002CF-Qx; Sun, 06 Nov 2022 21:35:35 -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 1orrz3-000263-Da for emacs-orgmode@gnu.org; Sun, 06 Nov 2022 21:35:33 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orrz1-00072J-JE for emacs-orgmode@gnu.org; Sun, 06 Nov 2022 21:35:33 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 697D7240026 for ; Mon, 7 Nov 2022 03:35:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667788529; bh=iI2WOk4uazhgZNTCW+J9wxMUEY8iA4EwtRtC1oyhiZc=; h=From:To:Cc:Subject:Date:From; b=mfFFzScA+cHdu6xTKck3kVZVxnksF7oUKH6PTD5UZzfCXnZLlxdTcsogKgA1ACzM3 GGFokeU6ZhXFxw9nr8DZMCewzWq+GenRmsyAgM6lwJhyWRkDLYjxVZ72mkeDuBlvCN F96IyPQxzLVJe2tubjfrViEitNUH2sRdf69+b5Of2J/IcSWv592ClA5E3Eq9AiUIJp U9624zrJBpGgcvB+jBeKbqCCp9BNCJU/AHfRRoSgDXKPpgN3M6+p//KAPUrcTXsVAf k3wO/BbS5o3lVxnFElOOUn8rwRJdaCVZ5jKsHWPqOKplrG+IEnvQ1dJwmk4FF9y0Qd /xpp9howc91zw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N5FhF4kszz9rxB; Mon, 7 Nov 2022 03:35:25 +0100 (CET) From: Ihor Radchenko To: Mattias Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Org errors when exporting document with R an source block that results in a table [9.5.5 (release_9.5.5 @ /usr/share/emacs/29.0.50/lisp/org/)] In-Reply-To: <1YCXKR.QZ98NR0Y6OGC@protonmail.com> References: <1YCXKR.QZ98NR0Y6OGC@protonmail.com> Date: Mon, 07 Nov 2022 02:36:05 +0000 Message-ID: <87r0yfa3u2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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_DNSWL_NONE=-0.0001, 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=1667788563; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UF2ekZsG+dXrXhpqVjiT0GCs5wOPxCGWFEiJFaAIUxQ=; b=gOjaFHF+95m+zv38Q8Ihkzzohg6UhLsDQD6n9B+ae2WeYIpJz5WA3h9e1FXzrod+087UOZ GRV9X8WyoH2JGnxIHJxgQrOy6eZSW3gxlEAicp9YKkYrSowrf7qPj3aOFIIp6BQeZgdtVC OifBb1EeRsBHw/UtQSakG3ptGAq1+xiRDTTJSd4ZzFOmNCikLH3gPrw+mlGy91teeSdfL9 pmd8hADCVhwJRe8QbQF5hLFw2XVlvpPrXzBwt2psbvsMQm5mz8U+vVyW6QAaajUe0Y6mQF N1Ab4Pgc31cKSyBV/3evZFuPv5H6UOKq4SW2m4mN2VxFzjnpb+SXsNsMpEedGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667788563; a=rsa-sha256; cv=none; b=aR5oU3kv0iBL72CaOYHd/NOX/YT8+VkpwwUI9OlBHXmaLNO3zG/NKdeQIeU8BpIMhkAwRf qsnsr72dWo8RI0IjpizZb5gaZckIN6jV+ur7mRER9kKheSczKgRmiLAVs5TFvPR5LyZ3AX WYFyy0MvPSWrbtiwwhEZSEwiFWEI0/dRXigyxHeB39t1oATIt+NhZlLGmsQjlppAE0mpzT n2zzC8v9TVAZWi/YVx8LXK6jLksoiGIbWP7XFvb6n5B18tsf3USSi6phSbn3745jaqEVXs Px+XgKFmv8a1LMXwvmrER+CgZt5lt9P0loJMug+Td83mtltxgFNyCRx8cXqMaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mfFFzScA; dmarc=pass (policy=none) header.from=posteo.net; 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: -3.70 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mfFFzScA; dmarc=pass (policy=none) header.from=posteo.net; 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: 23E5F362F1 X-Spam-Score: -3.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5rsB3dQstn0Y Mattias writes: > When exporting an org file with an R sourceblock that results in a table I get the following error: ~(wrong-type-argument number-or-marker-p nil)~. > > This happens when using ~emacs -Q~ and putting the below code blocks in a test.org file; then using C-e h o to export to html. > > #+begin_src emacs-lisp :results none > (require 'ob-R) ;; C-x C-e here as it's needed to run R blocks > #+end_src > > #+begin_src R :exports both :colnames yes > mtcars > #+end_src > > This does not seem to happen in Emacs 28.1, or in 29.0.50 with Org 9.4.6. > > Debug on error shows the following: > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) I am unable to reproduce on the latest main, but I can reproduce using built-in Org version on Emacs 29. This will be fixed in the next release. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at