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 aBNWLtLijWP6hQEAbAwnHQ (envelope-from ) for ; Mon, 05 Dec 2022 13:23:46 +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 +L56LdLijWNVDQAAG6o9tA (envelope-from ) for ; Mon, 05 Dec 2022 13:23: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 72BADE886 for ; Mon, 5 Dec 2022 13:23:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2AUW-0005LO-KO; Mon, 05 Dec 2022 07:22:36 -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 1p2AU6-0005Ib-Kx for emacs-orgmode@gnu.org; Mon, 05 Dec 2022 07:22:19 -0500 Received: from mail-vs1-xe33.google.com ([2607:f8b0:4864:20::e33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2AU4-0000dd-UG for emacs-orgmode@gnu.org; Mon, 05 Dec 2022 07:22:10 -0500 Received: by mail-vs1-xe33.google.com with SMTP id f189so6343135vsc.11 for ; Mon, 05 Dec 2022 04:22:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qVinlflTEGQjglRjZGCtGWN7Yc+jKg+NxdInegJbbTg=; b=TQierDLs4LKNiRlVCzxxLwXe2X9BJrWGVe7uEiWmEMc4FSrWrdqEhG92nPtQDwix1k bexELi4dGVFC3HXoeaR3N4MU6O/DohAAdNoGP+qG4hNWwFL6S37ufHJUD7KckPEYieIn NucVlgyGGIQ2eggoCGzPv/hL27Ef2JFVHXIVK0Ds8Q99Y8+HGasvSioy2sV4Pa6TOREL 86nemJeXm9MMCZeHcFdYs11JcaSd5nNiEGt0W9ea7/kFGmhkHqijO44dcOquJCFCsR53 UzYHLx5yK5032bCtboxxqzLTXzcFSxmDKRO97Bi+2mTvswM3Jr5CZ4Wj8OYjEyQFQ7ON A8EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qVinlflTEGQjglRjZGCtGWN7Yc+jKg+NxdInegJbbTg=; b=TQdL7pHRFnQBPCxDPM6O8o/lguL98Bbeb43Qj+RBFNXGMCLg7gmQw4ic2Q/dCFcGyP Y7xPnpRBX6zop6e3GsAmdwb5QcSoT0Esl9w0deTvnKB9fDjjgYoqNhkNnlYZG3PaXg0+ ibbpOHwXHPLvD92pSsgFLoNXwNwIwc4xD35TLdkhwYmYDe6/EcFn5LddnGu7qF9J87Fh nGguhZUg5O4/jcw1K6q9qPUaNnj1kzPYmguARSSMCv1kn/W8nWXNrj5s53qJllX19yVY EGIYArpZhpEqBbecyVLFWlscUoUbqqswlCUCtjtR1xavMczvXNPk1K923bYQIoENXAry Npew== X-Gm-Message-State: ANoB5plpOnaZ1tv7M/axGdT1oJjeUNnUQrNLl9q9wpYwocsCjFH7Y46f JoPpN/A7TbpeU5NZy2kzFFEnDl2Cgc2uYHjvmrU= X-Google-Smtp-Source: AA0mqf4LyNeU/QTU/sN0jLNmr7boAfQ1r1Ch3GE7DJCcCts+pcwKV2lv2GWaXYyKKFfnUTKGvtG/9VCd2Yi7Y42lHZY= X-Received: by 2002:a05:6102:ecd:b0:3a9:643f:3d58 with SMTP id m13-20020a0561020ecd00b003a9643f3d58mr41983949vst.87.1670242926618; Mon, 05 Dec 2022 04:22:06 -0800 (PST) MIME-Version: 1.0 References: <87wn77mdvk.fsf@toloe.se> <765038.1670208188@archlinux> <87lenm9lw3.fsf@toloe.se> In-Reply-To: <87lenm9lw3.fsf@toloe.se> From: =?UTF-8?B?SsOpcsOpbWllIEp1c3Rl?= Date: Mon, 5 Dec 2022 12:21:55 +0100 Message-ID: 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/)] To: =?UTF-8?Q?Johan_Tol=C3=B6?= Cc: Greg Minshall , emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000546cc705ef13bcdf" Received-SPF: pass client-ip=2607:f8b0:4864:20::e33; envelope-from=jeremiejuste@gmail.com; helo=mail-vs1-xe33.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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=1670243026; 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=qVinlflTEGQjglRjZGCtGWN7Yc+jKg+NxdInegJbbTg=; b=QoTS0mzVL4Tcvstd/bTcAW4STC097XRA6ogpWInGNBLHrN9gpo9QFieZVrX6MZqEpLHkry RVa64XYbiLgDus7dt2+HM9ncvmHgxpAIpYPKwIVwiocSvjfbQYnZtrQ5F/j46SeupbiwlF uhkrppEX/77XwxeKek466Sh5sH8Wj5r2jWxpBUCib3zQlpO1rYVImmqYEupFTK9GvXM23M cQNRdgVBfEC/JnPfwA17suykgCwfQrbGqR6RlXBmWduDnNPbNCPtb/9S3K2F0WiYP1rej3 uf5+3zHeJVvXyk67D9XchW4xjP2qcCDdT5bZK9bQ3ydY7DF7D+WT4Qy03hP4nA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670243026; a=rsa-sha256; cv=none; b=DWSlvfsjvVAK50zIGlDO97ry0uyyFnOKE+GQHSZiwIzmX7XJ50d0BMeJUWnvP4lSlgAcq5 mwR4lAwlijcmRD+xvC5ym6TJ7bqDQm22BvK6lergebQj4WQO6StlNxiT7MC6K7EoPWNPEk Zo3zS5/40tHKYu6FysOLA1O/86LBL70udT14ETRg4z6S5D/Z+n0MSau9UUGnvf9Pl5KdA2 6Voo8P3o2EkoKZYsZpx2ONF1qeGP9PU/wk/RC8QtUNx+jm288yOO87hVmQQbmDVQnF0drW /r2m0315W+3hyxI0IWi5sWaT3Wj0fg4Ntgz/5t5z8C/V5wp8oaq1MkBH2usexQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TQierDLs; dmarc=pass (policy=none) header.from=gmail.com; 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: -5.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TQierDLs; dmarc=pass (policy=none) header.from=gmail.com; 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: 72BADE886 X-Spam-Score: -5.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: H0f1OBPfaoWC --000000000000546cc705ef13bcdf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Johan, Many thanks for reporting the issue. I'll investigate further and submit a patch next weekend at the latest. Best regards, Jeremie On Mon, Dec 5, 2022 at 11:42 AM Johan Tol=C3=B6 wrote: > Greg Minshall writes: > > > i see this same behavior. to me, (org-babel-R-assign-elisp) > > seems to be > > the problem, but it hasn't changed any time recently. (nor, if > > my =3Dgit > > blame=3D is done correctly, has anything else in ob-R.el.) > [snipped] > > Yeah, the problem is not a change to ob-R.el but the recent change > to ob-core.el (see the message of the commit I referenced). But > the change to ob-core.el is final if I understand it correctly > which means that ob-R.el has to be updated. Sorry if I was unclear > in my description. > > Named plain lists were previously turned into data.frames with > each first level item in one row. Second level items were in the > second column I believe. After the change to ob-core.el they are > still data.frames but first level items form columns instead of > rows. Second (or deeper) level items are dropped as they should be > after the change to ob-core.el (according to the commit message). > > -- > Johan Tol=C3=B6 > > --=20 J=C3=A9r=C3=A9mie Juste --000000000000546cc705ef13bcdf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Johan,

Many thanks for reporting = the issue.
I'll investigate further and submit a patch next w= eekend at the latest.

Best regards,
Jere= mie

On Mon, Dec 5, 2022 at 11:42 AM Johan Tol=C3=B6 <johan@toloe.se> wrote:
Greg Minshall <minshall@umich.edu> writes:

> i see this same behavior.=C2=A0 to me, (org-babel-R-assign-elisp)
> seems to be
> the problem, but it hasn't changed any time recently.=C2=A0 (nor, = if
> my =3Dgit
> blame=3D is done correctly, has anything else in ob-R.el.)
[snipped]

Yeah, the problem is not a change to ob-R.el but the recent change
to ob-core.el (see the message of the commit I referenced). But
the change to ob-core.el is final if I understand it correctly
which means that ob-R.el has to be updated. Sorry if I was unclear
in my description.

Named plain lists were previously turned into data.frames with
each first level item in one row. Second level items were in the
second column I believe. After the change to ob-core.el they are
still data.frames but first level items form columns instead of
rows. Second (or deeper) level items are dropped as they should be
after the change to ob-core.el (according to the commit message).

--
Johan Tol=C3=B6



--
J=C3=A9r=C3=A9mie Juste
--000000000000546cc705ef13bcdf--