From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sDH3EmODmGPnTgAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 14:51:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +KAnEmODmGNbMAEAG6o9tA (envelope-from ) for ; Tue, 13 Dec 2022 14:51:31 +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 028351CFBB for ; Tue, 13 Dec 2022 14:51:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p55fV-0008Sy-6k; Tue, 13 Dec 2022 08:50:01 -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 1p55f3-0008NE-Gd for emacs-orgmode@gnu.org; Tue, 13 Dec 2022 08:49:37 -0500 Received: from love.tolo.nu ([79.99.1.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p55f1-0007aL-1r; Tue, 13 Dec 2022 08:49:33 -0500 Received: from nils.tolo.nu (unknown [172.18.1.7]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by love.tolo.nu (Postfix) with ESMTPS id EE9614021886; Tue, 13 Dec 2022 14:49:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=toloe.se; s=mail; t=1670939360; bh=l4pIl9qs+++rlAhzSk4DM7kBn9J+B+0jZN61BYfh3AU=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=Vfg/AQPZ5wHEbQO/sf4QX8DKd5oloQY4yTh67cjtUfsCGSjDAza3XWhOkaUXwG6Dy sbkhxFNsulYeO6oyPtYPr5ZHff1cYIlt53xwq0pKdJ/sJgo8FHJ/nuenzBNoYWGJdW Wqw/A6if5jS2Ra9076zHRX7TxI8XUk6wdB8rO2+Q= Received: by nils.tolo.nu (Postfix, from userid 1000) id B50114C1255; Tue, 13 Dec 2022 14:49:19 +0100 (CET) References: <87wn77mdvk.fsf@toloe.se> <766358.1670208594@archlinux> <87wn74xjv7.fsf@gmail.com> <87bkofh0ir.fsf@localhost> <87sfhqudks.fsf@gmail.com> <87edtantzq.fsf@localhost> <87k02yq7mz.fsf@gmail.com> <87h6y1hs2m.fsf@localhost> <1439157.1670847443@archlinux> User-agent: mu4e 1.8.11; emacs 30.0.50 From: Johan =?utf-8?Q?Tol=C3=B6?= To: Greg Minshall Cc: Ihor Radchenko , Jeremie Juste , Bastien , 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/)] Date: Tue, 13 Dec 2022 14:29:44 +0100 In-reply-to: <1439157.1670847443@archlinux> Message-ID: <87tu1zv2g0.fsf@toloe.se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=79.99.1.16; envelope-from=johan@toloe.se; helo=love.tolo.nu 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, SPF_HELO_PASS=-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670939491; 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=l4pIl9qs+++rlAhzSk4DM7kBn9J+B+0jZN61BYfh3AU=; b=QR+wB3yEYDCHZi+48Zow/OyxYLVabKUt6n4D9cuCg4iNlBcF7moj1a2r1gVPe5WnsXwpKS UcG5Dmf8yUEgP81UhinkpT2TLOrzy6XWZ1rtF2ZXbwHibdzwF/GXvreRLvEDBt9l0V34w3 LPIIwGVSyzl5XCBb5VYQJietLLc1IIUQb2Iz9FRy0jdp1gpjt28R1out9n3SXoU6siMyT1 KCV4ZqjKkuk3mvUqt7/BwZmnLyw3LzDwi/ucGSaRA09nwZAiu8WcUHVTo97ujcTX0KIKnP 3bM69HbvHobYCKB4pbkhT/GceKiZkWt29xrfPRkTuN6llfYbFg5hbpEgBBniZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=toloe.se header.s=mail header.b="Vfg/AQPZ"; 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=fail reason="SPF not aligned (strict)" header.from=toloe.se (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670939491; a=rsa-sha256; cv=none; b=E6GKNV4vxpNEuWXr5GJPaNRB3rDNv1SMlrtygKMpSOOlznFkP1ekT4cBjmDEKJIpf+93NI z1huhho6a5FchSSavWvR9yhy7vviHyt+kITp4skrI+AnfoA1JXq7sJlBLxBkSMK1EvHjWD Zs+FJh8Uc5kZ1x7lSh0ZaRJ5tV1ifji6FjYxnOMRodHW0js4bjc/35XXo2Qt0h9xOQIu9W 27RnFGx+WX7p9qCruaGXd5KTxMGZybfX+TLy1K+uKi3jSzrzk3taPFQWTmZNj74/k8CwMj j0LrVYppzBsJ8VoAfevPz9VW37Toprx1TzTO2ZHOV43N4SBCwI6p2rFh3gAxFA== X-Migadu-Spam-Score: -0.17 X-Spam-Score: -0.17 X-Migadu-Queue-Id: 028351CFBB X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=toloe.se header.s=mail header.b="Vfg/AQPZ"; 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=fail reason="SPF not aligned (strict)" header.from=toloe.se (policy=none) X-TUID: D4oa6OLuLPxA Greg Minshall writes: >> list(1,2,3) > [[1]] > [1] 1 > > [[2]] > [1] 2 > > [[3]] > [1] 3 > >> c(1,2,3) > [1] 1 2 3 > ---- > (where =3Dc=3D is the "concatenation operator".) > > so, to me, at least, "proper list" is not a well-defined term in=20 > R. > > cheers, Greg =3Dc=3D is "a generic function which combines its arguments" according=20 to the R documentation. It could do different things depending on=20 the input. =3Dlist()=3D will create an actual R list which are "Generic Vectors"=20 according to the R documentation. Each element of a list can be=20 any other R data structure including other lists, expressions and=20 symbols. "Proper list" in the context of this discussion and pertaining to=20 R would be a =3Dlist()=3D, not a vector which is what is usually=20 returned by =3Dc()=3D. A =3Ddata.frame()=3D is a special case of a=20 =3Dlist()=3D where every column has to have the same length. Johan --=20 Johan Tol=C3=B6