From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4PEiKVT23mENfAEAgWs5BA (envelope-from ) for ; Wed, 12 Jan 2022 16:40:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IOG/JVT23mFC/wAAauVa8A (envelope-from ) for ; Wed, 12 Jan 2022 16:40: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 035361755B for ; Wed, 12 Jan 2022 16:40:04 +0100 (CET) Received: from localhost ([::1]:50876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7fjH-0007FM-0N for larch@yhetil.org; Wed, 12 Jan 2022 10:40:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7fBX-0005OK-5M for emacs-orgmode@gnu.org; Wed, 12 Jan 2022 10:05:11 -0500 Received: from [2607:f8b0:4864:20::a30] (port=35365 helo=mail-vk1-xa30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7fBP-0006Ml-44 for emacs-orgmode@gnu.org; Wed, 12 Jan 2022 10:05:04 -0500 Received: by mail-vk1-xa30.google.com with SMTP id 19so1879208vkl.2 for ; Wed, 12 Jan 2022 07:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=djJ5aeNdSKvWQEnnd43W+EKFQl1MhYgVLvrZDqvaIOU=; b=cU4gTgCS58zfzGPI8BNbKvaxdGrvsaC972AaF21dlBSAypSGqZmRlzCsPm0U8EL4Bd p+LIWaD4ITlx8qzjRY2T06/x2Vga7Pg9Eu2in3CiWYeZSzrpQN53eDtesnjQoR82GsvO qkrMHTteRXyhuSTdSkNHfK1EGfKbDZa8m1DbxcL51OL60uDIk4byi6nqWw7reqrV2eKk jRYVoCIlDDVKeI373Ekt3oW9+j1CrUsIxEe/ydTshupY2w3oahbMpuoMxIm1jOLuFWUf zz/LCWbDYjJppoISEfNa1TQFyJzqeduatohbVy7gC7TFgex+FGTCrPM/MDhgw2/6bQPP poug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=djJ5aeNdSKvWQEnnd43W+EKFQl1MhYgVLvrZDqvaIOU=; b=mwKZiLsQNxYOgqhNDfzQ2uY3KGI2LDMOSlTA2SnUStrwOgiWHeRQpbTkQNdcjCjVKi qczhzt9tmC/xXp00QYPW0CQ0OsfsrXb72h29TstzQtLHtv4ds//IBzft7AYLrcyR+IrN GlEWXL61UfrpEjWZs0csoKH3v2lKPPt8rh8rDahia/0KAwPdzUTrH1Pqns8/h/ji150+ lmxSVXcS9qA8hOmQfOEs+KhZsnKw4WxMQk2i2selbuS1tmuigsbS8AabHZXBDOpfgFP+ FbCWo8GmF4R1ZJ9MDEKBKaoa1TTJLGrT8HUsWnijSnPEVNoq0qvt4EjdnZ8mvvhrVlKs /Qpg== X-Gm-Message-State: AOAM533RMP5vnyMOidBHhY1IT+rJxJT61+CJw1nHiGOvod3dGdlOGN06 CUwVVIIIT16vCqrFHAqL+RBKghmZA+wkzf4uD0k= X-Google-Smtp-Source: ABdhPJwe0G/HVGsQQ/B+hfcmXQwh4bvfyXZDP3dmMdMzlqmFBX2HwmOx7z5S+zKp/+Lv+lZznYZVo1qtcbhOzms0MnI= X-Received: by 2002:a05:6122:554:: with SMTP id y20mr4730765vko.35.1641999900106; Wed, 12 Jan 2022 07:05:00 -0800 (PST) MIME-Version: 1.0 References: <87a6g1l7fd.fsf@gmail.com> In-Reply-To: <87a6g1l7fd.fsf@gmail.com> From: John Hendy Date: Wed, 12 Jan 2022 09:04:48 -0600 Message-ID: Subject: Re: Help debugging R source code block output problem with :session To: Jeremie Juste Content-Type: multipart/mixed; boundary="000000000000c490e505d563e4b6" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::a30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::a30; envelope-from=jw.hendy@gmail.com; helo=mail-vk1-xa30.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: Jack Kamm , emacs-orgmode , "Berry, Charles" , Ilja Kocken , Dylan Schwilk Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1642002004; 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=djJ5aeNdSKvWQEnnd43W+EKFQl1MhYgVLvrZDqvaIOU=; b=YBmrKCdLkjFpgi6EkkK9WcVdo8e/geqGUwVHgZ3AxDcWL81cw744YUHACixj2oC5pmetU4 rtQLwlgOOzFmUYReaiTHKRQeVEIbSqZ9sanytwLRj6fUoLDJFQmgTjlmqWtlByslctDCTy eL2q0LyjW8bKx0WY9W33EDqeZo1qsg28ussC2Y1+HIH7+zj1uunOw8bMft9lQDk6/TxXl8 Qv9OZ+N38MbqkuJTHSe9dRKQL918isi+op8smS/tGtWxiqBBTbYFK2T9fv3Enf5P6tTMll G5RSzy5goPl+PkaSACQhJy7M/v4JZeE38uBqkhIXsMzD0sy3WTxl4PhfkO3ZhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642002004; a=rsa-sha256; cv=none; b=icFu6MmaBaKcQ9GLm0U8HvC4jfH8XDm+dJIY5bnTJ9/t7JJdLrSkpXDaLgxxxS/01btIwl TZP5rtk+8H1cTUzvAOXUhwYCiAqJ+LCl96zwE7oHp6knfzMNRCK+V6+JE/bnGEmaLWbjkx BdtmUgsWIHGiqEZZG8tdCyyBvLAn9NvbljwmY5dzcjjO6LAgCN3Wtz64Y5ytoKiJlFSG7S gXuvrlOviEFY91fy/a5B4SyTUjU8xV/6fO6anXwiTqXqTcPWeBsyb+Db703ot8k54LD+c4 ZP6OD33WKWwx+qvWrYMRXoZrS2pbQljqOvhhOfnU+gMyU1Gw7UtlvxLNcbKt6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cU4gTgCS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -0.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cU4gTgCS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 035361755B X-Spam-Score: -0.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: QFWCj0Gny465 --000000000000c490e505d563e4b6 Content-Type: text/plain; charset="UTF-8" On Wed, Jan 12, 2022 at 1:50 AM Jeremie Juste wrote: > > Hello John, > > Many thanks for reporting. I'm short of time right now, but I'll take a closer look at the problem over > the weekend and keep you posted. Could you let me know which version of > org-mode you are currently using? Sure thing and thanks for the quick note! I use org from git and *thought* it used to report the most recent release tag, but I see: $ git log commit 7fa8173282f85c2ca03cc7f51f28f6adfb250610 (HEAD -> master, origin/master, origin/HEAD) Author: Ian Martins Date: Sat Jan 16 15:52:21 2021 -0500 But Mx-version: Org mode version 9.4.4 (release_9.4.4-186-g7fa817.dirty @ /home/jwhendy/.elisp/org/lisp/) So perhaps it appends the git commit to the system version? Btw, it's dirty as I was able to apply Jack's patches (with some mods) successfully and am a happy camper. In case it's helpful, I attached the patches as I applied them (first -1, then -2) to this org-version. Nothing special, they are just Jack's patches with a couple sections removed (one change was already present, and I removed the adjustments to the testing file as they were failing). Thanks so much to all of you who contributed to that, as I'm so happy that I can at least continue on with my report at this point with good looking output! Many thanks, John > > Best regards, > Jeremie Juste > > > On Tuesday, 11 Jan 2022 at 17:36, John Hendy wrote: > > Greetings, > > > > Apologies for writing off-list, but I don't have the original thread > > anymore to reply to. I just pulled this group in directly from the > > email I found... I just got bitten by this as well and burned most of > > my afternoon trying to figure out what the issue was. > > > > Any further thoughts on a patch that could be finalized/applied? > > > > Is the one from the thread still the best from your continued experience? > > https://list.orgmode.org/87zgxc42qg.fsf@gmail.com/ > > > > This r/orgmode post was what finally got me to the existence of this > > as a previous issue (I'd just sent my own email to list as my > > searching did not find the above): > > https://www.reddit.com/r/orgmode/comments/pt3em4/source_block_modifying_format_of_results_r/ > > > > And it links to a patch as well: > > https://gist.github.com/gtuckerkellogg/e356d20497cfdc8e4fc683412e320e3e > > > > Many thanks, > > John --000000000000c490e505d563e4b6 Content-Type: text/x-patch; charset="US-ASCII"; name="ob-R-1.patch" Content-Disposition: attachment; filename="ob-R-1.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kybo9gbc0 ZGlmZiAtLWdpdCBhL2xpc3Avb2ItUi5lbCBiL2xpc3Avb2ItUi5lbAppbmRleCA1ZTlkMzVmNTgu LmIzN2UzOTY1YSAxMDA2NDQKLS0tIGEvbGlzcC9vYi1SLmVsCisrKyBiL2xpc3Avb2ItUi5lbApA QCAtNDM3LDI0ICs0MzksMjMgQEAgKGRlZnVuIG9yZy1iYWJlbC1SLWV2YWx1YXRlLXNlc3Npb24K IAkgIChvcmctYmFiZWwtaW1wb3J0LWVsaXNwLWZyb20tZmlsZSB0bXAtZmlsZSAnKDE2KSkpCiAJ Y29sdW1uLW5hbWVzLXApKSkKICAgICAob3V0cHV0Ci0gICAgIChtYXBjb25jYXQKLSAgICAgICdv cmctYmFiZWwtY2hvbXAKLSAgICAgIChidXRsYXN0Ci0gICAgICAgKGRlbHEgbmlsCi0JICAgICAo bWFwY2FyCi0JICAgICAgKGxhbWJkYSAobGluZSkgKHdoZW4gKD4gKGxlbmd0aCBsaW5lKSAwKSBs aW5lKSkKLQkgICAgICAobWFwY2FyCi0JICAgICAgIChsYW1iZGEgKGxpbmUpIDs7IGNsZWFudXAg ZXh0cmEgcHJvbXB0cyBsZWZ0IGluIG91dHB1dAotCQkgKGlmIChzdHJpbmctbWF0Y2gKLQkJICAg ICAgIl5cXChbPisuXVxcKFsgXVs+LitdXFwpKlsgXVxcKSIKLQkJICAgICAgKGNhciAoc3BsaXQ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wLWZpbGUgJ25vcXVvdGUpKSkKKwkgICAo d2hpbGUgKG5vdCAoc3RyaW5nLW1hdGNoIChyZWdleHAtcXVvdGUgb3JnLWJhYmVsLVItZW9lLW91 dHB1dCkKKwkJCQkgICAgIHN0cmluZy1idWZmZXIpKQorCSAgICAgKGFjY2VwdC1wcm9jZXNzLW91 dHB1dCBwcm9jZXNzKSkKKwkgICAoc3Vic3RyaW5nIHN0cmluZy1idWZmZXIgMCAobWF0Y2gtYmVn aW5uaW5nIDApKSkpKSkpKQogCiAoZGVmdW4gb3JnLWJhYmVsLVItcHJvY2Vzcy12YWx1ZS1yZXN1 bHQgKHJlc3VsdCBjb2x1bW4tbmFtZXMtcCkKICAgIlItc3BlY2lmaWMgcHJvY2Vzc2luZyBvZiBy ZXR1cm4gdmFsdWUuCgo= --000000000000c490e505d563e4b6 Content-Type: text/x-patch; charset="US-ASCII"; name="ob-R-2.patch" Content-Disposition: attachment; filename="ob-R-2.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kybo9gbo1 ZGlmZiAtLWdpdCBhL2xpc3Avb2ItUi5lbCBiL2xpc3Avb2ItUi5lbAppbmRleCBiMzdlMzk2NWEu LjVkZGYwZWJkMSAxMDA2NDQKLS0tIGEvbGlzcC9vYi1SLmVsCisrKyBiL2xpc3Avb2ItUi5lbApA QCAtNDQxLDcgKzQ0MSw3IEBAIChkZWZ1biBvcmctYmFiZWwtUi1ldmFsdWF0ZS1zZXNzaW9uCiAg ICAgKG91dHB1dAogICAgICAobGV0KiAoKHRtcC1maWxlIChvcmctYmFiZWwtdGVtcC1maWxlICJS LSIpKSkKICAgICAgICAod2l0aC10ZW1wLWZpbGUgdG1wLWZpbGUKLQkgKGluc2VydCAoY29uY2F0 IGJvZHkgIlxuIiBvcmctYmFiZWwtUi1lb2UtaW5kaWNhdG9yKSkpCisJIChpbnNlcnQgYm9keSkp CiAgICAgICAgKHdpdGgtY3VycmVudC1idWZmZXIgc2Vzc2lvbgogCSAobG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