From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CMdfIRTckWNEDQEAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 13:44:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UKRUIBTckWPqcgAAG6o9tA (envelope-from ) for ; Thu, 08 Dec 2022 13:44:04 +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 CB3AB3B88F for ; Thu, 8 Dec 2022 13:44:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3GFN-0000ah-2c; Thu, 08 Dec 2022 07:43:29 -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 1p3GFC-0000aH-3p for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 07:43:24 -0500 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([13.59.128.245] helo=stoic-afallach.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3GFA-0000h6-Gj for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 07:43:17 -0500 Received: from satisfied-leshyi.authn-relay.a.mail.umich.edu (ip-10-0-72-10.us-east-2.compute.internal [10.0.72.10]) by stoic-afallach.relay-egress.a.mail.umich.edu with ESMTPS id 6391DBDA.1797C473.3FA82CFD.191154; Thu, 08 Dec 2022 07:43:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1670503385; bh=fuuMfxr3rKritCY8mbSTaVrAH3zZWPEC9NGi/Lb237s=; h=To:cc:From:Subject:In-reply-to:References:Date; b=eejCuFCl6wLWQpP6qirvKiky1+lMhFhchsbnwjVUjsiGI6ou7I4FTadHtv4d0X1uw 07qhY3JhW+cVTCd9U2nMMLhBSD30KbVnfUwnqWMpeHcWgyMyTFwqJwkvJJtmNA0Au3 wSoeqydzlr8mjR0nemvLOwVsz1kT8R+Su0gBZ70kZntAouHlrjeu3OVylYsn5Hme+4 zzVcOYlzYUM2t6fp1FP5pvU29aIgd0debGb9P+ok22VXBFiuFUDyGykXlaLp10c766 Zq7XikBV/DINpoo3RZf2nmF8+G1iOOfwNgsLQSXU4fZThUOmh4rUyJIGXQmmoZ+V+L dOxkNbIFuDc1w== Received: from localhost (Mismatch [85.108.156.98]) by satisfied-leshyi.authn-relay.a.mail.umich.edu with ESMTPSA id 6391DBD8.63B3B1E.19C6EBD6.1520339; Thu, 08 Dec 2022 07:43:05 -0500 To: Ihor Radchenko cc: Jeremie Juste , Johan =?utf-8?Q?Tol=C3=B6?= , emacs-orgmode@gnu.org, "Berry, Charles" From: Greg Minshall Subject: Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)] In-reply-to: <87edtantzq.fsf@localhost> References: <87wn77mdvk.fsf@toloe.se> <766358.1670208594@archlinux> <87wn74xjv7.fsf@gmail.com> <87bkofh0ir.fsf@localhost> <87sfhqudks.fsf@gmail.com> <87edtantzq.fsf@localhost> Comments: In-reply-to Ihor Radchenko message dated "Thu, 08 Dec 2022 09:07:53 +0000." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.1.91 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <968890.1670503378.1@archlinux> Date: Thu, 08 Dec 2022 15:42:58 +0300 Message-ID: <968891.1670503378@archlinux> Received-SPF: pass client-ip=13.59.128.245; envelope-from=minshall@umich.edu; helo=stoic-afallach.relay-egress.a.mail.umich.edu X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=1670503444; 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=fuuMfxr3rKritCY8mbSTaVrAH3zZWPEC9NGi/Lb237s=; b=AgEqhM2W7f03e+FbPjx4ehIvRKnoRIW5074G0p+6FBPAYowXrSuml36C+Mx28lfGJWcVWt /neLRM5dotp7nYrtDipMYLfMNHLumMF25MqYJp4iRy2HhY5/b5RpPHR+A6aIZyuNlTb00+ bWkzF1z8aK32LrxPD+XL3gVI84Q8OAe7wHCztP6DZ8ufJ/jEiJ+hQR6cYVRFV31tqxWHCz zIpj2rzDIaGbSFGx+ljd0JJZXyF23NVhpLv360VGo1ddVuhAm6khVchOxQWDXqCRVdx4eE xIjKQZIT9Nq+BYiN1t09iBno7vzfcUJ06hIscPtrH4dPS+nCb5i2oFqiiIiAnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670503444; a=rsa-sha256; cv=none; b=jsPlRr2OAn2R2KKpEsV4OUwvrzAgsH8K4yHt/2sgRyo6qfjQhsU0scJ4dH3igAp9yxg0VZ aD1AUhDqz7+OVn5AWuN0tC4cmitH0uRGrGxi2ZMWPwzXoBEtT+7w/dTnKaxO2KrYXFErmh fetMIe4lqBAdy5VCl6Sj3nghqbmwhvQQNVKJfa+SgoeNTKlkpMsjkVqe1mdGgsuTtWovPq feRgrgY4TGHmmNEXTnR5Y2lIkWI45EOJAb7FQjQbVukM1mkjKDrKQM+nYuGnaXhOtdDUnc KMEph9fehTc4qery9uJ7DtbKyccSQjg2lBUCpHd9Mjq+Qml7OvfuHvfCFJH/xA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=eejCuFCl; dmarc=pass (policy=none) header.from=umich.edu; 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: -4.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=eejCuFCl; dmarc=pass (policy=none) header.from=umich.edu; 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: CB3AB3B88F X-Spam-Score: -4.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: mNnu41uoaxoV Ihor, > Does it make sense from the point of view of R code? > AFAIU, the current ob-R implementation converts lists into R tables, > which is not accurate? Would it make sense to convert Elisp lists into R > lists directly? my "barely half a cent" would be that backwards compatibility here trumps, hmm, "logic". i suspect a note in the wiki page for ob-R stating that lists are converted to single-column tables would be sufficient. (partly because i think people writing code need to refer to such pages to understand these sorts of mappings.) (one could make the case that "no one" passes lists to R code; that could push *me* towards your suggestion.) cheers, Greg