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 gAA4KeLdkWNzIgAAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 13:51:46 +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 GKcsKOLdkWMDVAEAG6o9tA (envelope-from ) for ; Thu, 08 Dec 2022 13:51:46 +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 604133BA6B for ; Thu, 8 Dec 2022 13:51:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3GN2-0002ZL-61; Thu, 08 Dec 2022 07:51:24 -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 1p3GMx-0002Z3-Na for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 07:51:21 -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 1p3GMv-0003qe-Pc for emacs-orgmode@gnu.org; Thu, 08 Dec 2022 07:51:19 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 03691240104 for ; Thu, 8 Dec 2022 13:51:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670503875; bh=jFRv4Az8LjwDLLBLoCm4Eg+vpjA6qWGlLfsvND7OdwA=; h=From:To:Cc:Subject:Date:From; b=gyGUUh8CX6vSIyoZvJaEl8mqbWpYcnswTzIhjDJtjg8xQezP2b4trrXkhY//CVWIQ ft/xSUgtAw4I+qqkhFDJcjKa9yRH0pXwezUR2ja06Q6wZjkbOoLvJYprmQraM0FsxN vLzMhE3hJKLnOx/p9Jm6m+b3uzUtJTwmE3BgMZ/8aKuXqZPogwwFjKm6/nt9keV8MP Ll9o+sMikRGOEzlw8hMZqita4iT3KMBOGBPfxtWIosNtHdHEtc9i0fkmSI3MKNm2Cp NUjlkEjIlqbLu3G6MFVusI7tCTQgVjX381dHGTjmxJNN8c4qfKzAyS2CHM7sTKNF4i 8QyT3r+AWbJ2g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NSYtS0P8tz6tn5; Thu, 8 Dec 2022 13:51:11 +0100 (CET) From: Ihor Radchenko To: Greg Minshall Cc: Jeremie Juste , Johan =?utf-8?Q?Tol=C3=B6?= , emacs-orgmode@gnu.org, "Berry, Charles" 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: <968891.1670503378@archlinux> References: <87wn77mdvk.fsf@toloe.se> <766358.1670208594@archlinux> <87wn74xjv7.fsf@gmail.com> <87bkofh0ir.fsf@localhost> <87sfhqudks.fsf@gmail.com> <87edtantzq.fsf@localhost> <968891.1670503378@archlinux> Date: Thu, 08 Dec 2022 12:51:08 +0000 Message-ID: <87v8mm6oub.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_MSPIKE_H2=-0.001, 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=1670503906; 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=Cb9yoEfedk79kdiCk4hwq2eUowdPCY13W4e3M1lr6ss=; b=X85PTi0rKUMF+yWVeu4c+n7zlAlX08SU0reSS3HHhU2+Bm51qZYiYZWyBDifNBVU94upbz NRIOShpVVEN20akxtzDqs2M8i9Ks1NsdeqEPxsb0bpfNQ1QM62KbhCfVsegN6iUMEtU4sY sAdUjqyDYPGXpoiasVFSyiUsv4kKvI7bkUb0kXfaLejqh2/d8/eFaCQ2bDbC97nsKPxMC/ qr+z0arm5BKKEieJhaRMFHiw//K5CFCz+sHeezAt3KHkUieHQVDaxNK1e4INTbRPa/RvcJ i9aRfe46oaPuNfx9uEfmexsUbcD07SlYj+wuv07HXZKABHxUBye6aoml5RIYiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670503906; a=rsa-sha256; cv=none; b=I4nuGF3hvG0eI2HVP70RZ+3+CHbLqFYk+HMEnubCCHe86HT9WJrlsqZhyKgFkCrXeuEoY4 yrIaU2fSDq0/dZTHsojcbutFN2rsOPiavD76gJu75cSEc07wL+wnmHHcMmzoGlsnkefIZ6 qZiuFr93y0Jj7oGnW1+jRqRNTxFcPJZ++IsWy6gi3NSfnYzkEU5s3mgfLVsoC4IjCxt8vH bAnE6oJohz6AqZSSO5VqKNzDObtwv1ALkTSdJE5+Q3rEzexgmgv4f/U8/K9/OeUOhmAybQ SuvsolDVyUr5a0czeDnV+zkTnAKs7hy121jpt7kmOgpd7XKDj7rdco8M3wpF6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gyGUUh8C; 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.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gyGUUh8C; 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: 604133BA6B X-Spam-Score: -3.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: etdGebW7ES6n Greg Minshall writes: >> 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.) Once upon a time, ob-core converted lists to actual lists. It is what is reflected in the manual. Later, the code was changed and lists were interpreted as lists of lists. Now, I reverted to the original behaviour. The time span is years and I do not recall any related bug reports. So, nobody seems to care. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at