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 QG5TK40ormPVDAAAbAwnHQ (envelope-from ) for ; Fri, 30 Dec 2022 00:53:49 +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 6HViK40ormOVAwAA9RJhRA (envelope-from ) for ; Fri, 30 Dec 2022 00:53:49 +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 3DBB1DAE4 for ; Fri, 30 Dec 2022 00:53:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pB2hp-0001Ly-Al; Thu, 29 Dec 2022 18:53: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 1pB2hk-0001Lo-Rj for emacs-orgmode@gnu.org; Thu, 29 Dec 2022 18:52:57 -0500 Received: from mx0b-00395d01.pphosted.com ([148.163.137.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pB2he-0000nm-Uw; Thu, 29 Dec 2022 18:52:56 -0500 Received: from pps.filterd (m0173176.ppops.net [127.0.0.1]) by mx0b-00395d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BTFsqBG013461; Thu, 29 Dec 2022 15:52:46 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=campus; bh=zf3EufBD41kB7LsLeQfCwA6YUR/mR8t6f5KtqZN3TMw=; b=wRZhjkZ7Rjx1PLbQ601JjgpbDKNdLWvdzpCgeBj+B/fxVsfPdNrIfQDbo88TmCIULw1V iwdeqzalcrcyEPgb2VbwmtroKH36q+tcqq3m795AS/+mzzNAVzpyHDma+XFYLviw1vHO 8PLrxPBMzQGwDLwlZ/BLNR0lpLfLbSWAa4Q+eBFQT/EoF2q3ESyFBT3rCSLVhOgwno8f oMbAM0EVcbITzcljgNxiyncqPP7pZAPrUNQPxF3nwQ39YnEd9FsksbFJuMp3bBjNWPQz SdJ4o2DdmZ9d5CTP20AavT6vCBGf4LllVRGCBSzWSA6ibXqSvkQZbZZZs316+jQvIKLu Mw== Received: from secdlpezp04.ucsd.edu ([40.112.251.180]) by mx0b-00395d01.pphosted.com (PPS) with ESMTPS id 3msdxxs29x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Dec 2022 15:52:45 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LwleWp+G5N9FUYbddqUt8jj3GmQYOCH0BBKBfZ1LmV5rtFCxTp7z5jxcQkWr2RPDPXbqgAO79/MhGz0env1dvExEhSsg4yqUIqEYjoQJ9wlPGdwir9BmdpCMkhVqCKtqC5O1hPzWbZN2JFRNgsZt46X7Hpph5bj43aqSFBgxBji4gFvpoA6ZPCPi0Ur1BN9r3KIhT53JvOJmsHskpkadcxSs1Ccr2JZIYS2Uf7MvASEUrANmxrE1Tnc3T36Acvb27NmxonAgmOq1fSpvZdmsrSbwgk+laoMD84UimA0mHYGKOFfbed4Ep2qVbiPU7liWKWHNW2A0NxjFMYCFHDu5sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zf3EufBD41kB7LsLeQfCwA6YUR/mR8t6f5KtqZN3TMw=; b=iO9dwEw0uV6XJ+zH754H6gGA3lR5UGSyy+Z+CUvxp9d4UhT7hnWo8PpATO+H5pLi5NwQskCs4+aE8uAKV8x0NQvWSZQbXoclEpEZ0mwoF0cZXS4rFZMr21RWro8g/Cm4sZZVCZ/suINWlh0WNlr+vKKgQAbZOlwTw6+oRNc/AYZrMRytIRlj6/btu++dppZyWbIS9RsjmhEkroVzlri0sfyrIEI4rkCjp5f1yYRtV1RzHhX0bQI2xnkKfH/qpr91XtN7+Ui8CgXsdIajo199GGXUxzy6iw6bgE2eMAax96wjjzta13ekn7d0pTooARTbGwmmucjqloEAyKRnDrlxxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=health.ucsd.edu; dmarc=pass action=none header.from=health.ucsd.edu; dkim=pass header.d=health.ucsd.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsdhs.onmicrosoft.com; s=selector2-ucsdhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zf3EufBD41kB7LsLeQfCwA6YUR/mR8t6f5KtqZN3TMw=; b=xQO2GkEw914bTYwfTQPOaoGHlakq2TaM+rrX2aV5r+FyonOuPilaD6cgAh1UXMA5EfNRDj8e+W7ynexJjUrYnfobQGqrSyqAAvYrJZbKvdL3zazjK5dRxNgNLnv+ZZs7O8dl+VlK1/wW0oRcJI81i7AHN4EwqaJHCr9uweHExA8= From: "Berry, Charles" To: Bastien Guerry CC: Ihor Radchenko , Jeremie Juste , Greg Minshall , =?iso-8859-1?Q?Johan_Tol=F6?= , "emacs-orgmode@gnu.org" 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/)] Thread-Topic: [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/)] Thread-Index: AQHZCb/AXE8TYYTx90Ss+lEgb1eVOq5iV/cAgACUoVuAAMkDgIAFIjdYgAEyGoCAGyAYb4AAg7gA Date: Thu, 29 Dec 2022 23:52:42 +0000 Message-ID: <720C5811-421F-4FBA-BA87-5024AFC864F8@health.ucsd.edu> 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> <875ydui4i1.fsf@gnu.org> In-Reply-To: <875ydui4i1.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR19MB2581:EE_|SA1PR19MB6941:EE_ x-ms-office365-filtering-correlation-id: 04a166cf-6c32-4bab-7e45-08dae9f7c694 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7GbJzZw4SVwflKycZgsMzi62uDKVMN0xRNzR2mlGnkT3OxSPxoj/cP497B9AvoTyYVif+R+iHmD5rWXHwArTG8Rmobn94YC6n1bN99LEUtJQYf6JeD5y4b95JJCeo4Mf+f7QI3y1X94Jsr1UHjEFjRCvUPhgEAJy1EvSuZHC/tsb63KzsLhmoswpn5FooWaGxKFgcIk1dHxWMntZHCsl1AK6xqgX59p75TJr3cYHswlHX9UVAGKJ3SQMsoPFqmub15nGoevjLM7DBknJ8XSsjuaMnU7hBiOx8KJUleOfbY5YFBh4uTvkn+Jpeb3hro8ACPzlU88O5uVL6T4JS89QdgPEhootW4u75D0jyoub89sw0i8OVQNxfVyPFJQQ6Oj8iS9oX+J0oCP0IIPDjouK7a2qkeHXwubEu5WSDDWflpeW9nrDRi2uXmnLK6XRwru+18OJH0rXl2y1aTCXfPtgqmobWEjLm7xq6b4FiC5I8bmBjyRlrLLl3TrDrV/ND1kgi88QIOsqbWfXQJyq2pkQ9tVIZV6ZW5OnN1SBxs/tcynmNtAiWxm5c6jlmVPZkAX3O7SPqY3GE9falAd3n+IOCRgtO72RdcnzoKXs7P9PuXcL/TRmlPihe7L0Oy59sA8gRDB4iWL0ccUoMWetfQqWBH0EnyfBdc6SjDzBCXAw/W7yO9kdKhne3oDrqN0WmTo9DaklCyt6p/t1femDTwi+hWjrwJeAbFxo059lyeSXpLY= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR19MB2581.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(396003)(39860400002)(136003)(366004)(376002)(346002)(451199015)(38100700002)(122000001)(41320700001)(33656002)(38070700005)(66476007)(75432002)(86362001)(66446008)(8676002)(76116006)(66946007)(41300700001)(64756008)(66556008)(4326008)(54906003)(6916009)(316002)(2906002)(8936002)(786003)(5660300002)(2616005)(186003)(4744005)(6512007)(6486002)(478600001)(71200400001)(6506007)(53546011)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?66ev3LYyHhORVJA7brgkmpTK3z02Fugz+jzYpG3X5PDIHWb3AGadP69IRE?= =?iso-8859-1?Q?Iibu5Nrsd+OwLP9FTzkflDw2lGREL9z6blncOSl8K8ULY7Ovjd5sjGifJQ?= =?iso-8859-1?Q?VRLgERcfZjOtlJGNq9HiC1jKmZ3Q3aelqxc5mvaHyI9g+bYamXeyiE3j0v?= =?iso-8859-1?Q?DP7IsVk8Rg8Np16q1LCxbwJa54W8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1?Q?NFczphb2EiPiU/pxtjkQChrY1JXxEXuv05WxatMwaKunt8BSv+7BF6Kmrx?= =?iso-8859-1?Q?cqd7q1JkaoQPW3Eq4VvxohG8satcAvMCGpRKsQh3ALErUoUmPVBrVvSkem?= =?iso-8859-1?Q?gdi+AokVBS3xqdpuZRok6/OZHSuMS2yd7DilclmPp/If+FI6N8zAhxohao?= =?iso-8859-1?Q?Iafp9hPVBfp7RjWK+jGUuWbOK3/MjgA9/YJYKjf44up7uVtY8jTG9nwdyU?= =?iso-8859-1?Q?t1d2JPBa1lV81ac8a+AmFYfG1A2CGKwr+lH5J5tmj+2OQCwcE6xIg0yGZ6?= =?iso-8859-1?Q?+x2aTy5vmrTidLU9Ptjyrpi8pj68We1bCF6/buHd/3T1XNc6YwomC0W4sE?= =?iso-8859-1?Q?i+ETPS492Z2yqA8tGWHZH+7856Lj9Nn0XZhmNbr22KMM2TKROcx8oVUyYP?= =?iso-8859-1?Q?65Ev/YF3VxJI3ShN/B2PYApxjW7eB5vhhHpRWqqICSDUTuIZTDBwp+3aa8?= =?iso-8859-1?Q?oe6eXP6DJayJ0UeojwmT+3GFpDOaT45S9lg1PYfGhrvzr3Jf7AeoznlDud?= =?iso-8859-1?Q?5acBohYj4G3FBaGWHw2D5Xz4/HyxFtjMA9vVSqwX4YhzazWgFm9X/U7vWY?= =?iso-8859-1?Q?BNk5cMTSUljdnWF77zPrZ+pvv9Txuf+Pca94gbdzv2izBUJArvJCb+kYaM?= =?iso-8859-1?Q?TMbw=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: health.ucsd.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR19MB2581.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04a166cf-6c32-4bab-7e45-08dae9f7c694 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Dec 2022 23:52:42.3535 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e470d736-e7f7-41a8-8eab-dad544b2b579 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: PSd5qDJwtsEpfyLNIZhyq0T+wZwgP93MJ7g4Mf6s/XnrCfYYA1DylWnWkN6AuXmt+GasVdVbjry2smrQuhogqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR19MB6941 X-Proofpoint-GUID: Ipwe6oxpV7Ae5eu_0ArFofGuiLXhYBDy X-Proofpoint-ORIG-GUID: Ipwe6oxpV7Ae5eu_0ArFofGuiLXhYBDy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-29_12,2022-12-29_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 impostorscore=0 spamscore=0 phishscore=0 clxscore=1011 mlxscore=0 mlxlogscore=752 suspectscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212290200 Received-SPF: pass client-ip=148.163.137.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0b-00395d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672358029; 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=zf3EufBD41kB7LsLeQfCwA6YUR/mR8t6f5KtqZN3TMw=; b=CCyVUr4fDl412qtv7GyouqObAHlZREUCdb2HWDy/1FIdWB52WkFU42RjwQtZzoRxOOtlr1 HpMjPpaFx21yu+LY6pnOeMYiXgqsl71iqGYwmcHA/hMOPpvabo17kUYteUIOwuhuwhrtsO dYJMsEXx9ppa1B7Pvizc3+AqR+K+S8GN/dMT2WutNUGUFKfHfUP0ofbnIHKUs5/vOUFKP2 iMwJmPeA1rMo4kj9+CKWviRAe8a2pHncjEYbiTnedvEqVGJaPKUw9fenwunskGan75XQrq krRY5CG/+YJD0l5e95KhJaK2RRwYrjMf4k40tjCAxplGiPT/njx9WzCSNfPCuA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucsd.edu header.s=campus header.b=wRZhjkZ7; dkim=pass header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=xQO2GkEw; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=ucsd.edu ARC-Seal: i=2; s=key1; d=yhetil.org; t=1672358029; a=rsa-sha256; cv=pass; b=XkcoNtejrpydA1awKDuZr+LuOjAHViRBsmurGD7hwlKQp8BdaivPwJZk680p3lx0oWaTF/ mF9I2SazRc8l4twp2jo0DbJBBCYWmJRf1wTsYVzVrO2y0iiqADNxoycRQG4cLJC2a+bFBu HdiC+0JHCe0g/oh8duUTDpA4V/rZ6tkNlE1f6k1HcujbC37aGXM/YZE7DI2NgoE48qHtTy o8I1d5jc67oAJuuEuHalyHyr83Pqn/2eJxRz2FI2eudoI5vGtkzU9Px5P5YzYugJXPQqEq M9sOKqWWyLswyhlCaBAVteTQ9MWALSySCdq415bd042quwZZ0TWm0s9sCfJkhw== X-Spam-Score: -7.37 X-Migadu-Queue-Id: 3DBB1DAE4 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucsd.edu header.s=campus header.b=wRZhjkZ7; dkim=pass header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=xQO2GkEw; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=ucsd.edu X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -7.37 X-TUID: gvFrK/+9iwev Bastien et al, > On Dec 29, 2022, at 8:00 AM, Bastien Guerry wrote: >=20 > I think it would make sense to convert Elisp lists into R lists > directly. Jeremie, would you be okay with this? >=20 Perhaps there are some hiccups.=20 The R `data.frame' type is a list with some added attributes. In that list = each top level element is a *column* in the data.frame. In the elisp list produced by rendering a table as in `:var mydf=3Datab', e= ach top level element is a sequence containing one *row* of the table `atab= '. So if elisp lists are to be converted to R lists, ob-R will need to know wh= ether the list came from a table to decide whether to render top level elem= ents as list elements or as data.frame rows. --- There might be some useful applications for converting org lists to R lists= and vice versa. But it looks like a significant amount of effort to get it= right. Best, Chuck =20