From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6N3fNqENUmGyaAAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 20:29:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ODB5MqENUmFpTwAAB5/wlQ (envelope-from ) for ; Mon, 27 Sep 2021 18:29:53 +0000 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 A3A87B9A9 for ; Mon, 27 Sep 2021 20:29:52 +0200 (CEST) Received: from localhost ([::1]:57354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUvNv-0001tO-RC for larch@yhetil.org; Mon, 27 Sep 2021 14:29:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUvMr-0001tG-8C for emacs-orgmode@gnu.org; Mon, 27 Sep 2021 14:28:45 -0400 Received: from mx0a-00395d01.pphosted.com ([148.163.133.170]:59802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUvMm-0007Q2-3r for emacs-orgmode@gnu.org; Mon, 27 Sep 2021 14:28:44 -0400 Received: from pps.filterd (m0173171.ppops.net [127.0.0.1]) by mx0a-00395d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18RGgUlr023765; Mon, 27 Sep 2021 18:28:35 GMT 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=mFkJOdcnEnBUOiYYOk1YQlzZwJbyWBVjHTFgtIZsexQ=; b=giOpntADn7Ef1b+wwi+7utjdILCQihC2G/33DKCs2IQVEsswMXCIcNIaWKunxwXz6iO4 7KUebcRQosAe1oBq21yuL1bVFvNPJCKdO+coE4MD63Y51zR7+ODWhCK7JBK5Mlgy/FQa 60t5HNnbF8jDw0QI8ZM5XeBeulfIKxcot1sltZUetQdxDskAPCh4csxucAC+gsH3Ofo/ //I9HpsS8YmAg1+WSAN+uXsCJ1mt53zWjKVXml23O1j+ponQ7iSBmqoQMI+LaxCyulOB XAplaUDFbuye6ynwHp5e+UI2p7W5vdhM1wUSxegozYH6JLK9E4QMoWPgkCpOg6kIjp/o sA== Received: from secdlpezp04.ucsd.edu ([40.112.251.180]) by mx0a-00395d01.pphosted.com with ESMTP id 3bbhqc0dxd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Sep 2021 18:28:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jtq++a2E/lPwaTCS7IntSjCSVZmHnOMpN/1sIPIhY8LEXXG1UQ3VCf5hg1ERrSxWzNjXJKU9Ws1y+vPCCwlS/dOxm8TSMlnYLJ+p/kuCko0HyGCcs27WnB5tor+dfgobwb3gHukpVpWKzmkZxyyQP37KMEy9tsebgQXnfhcy9HNOcZqNthX+l9sD6IlQ+310TfiHonrvhkEKRgIFeZx/ze6Mpqf1m+0HDzNMWYmohNpOJ7NgifgjOoTJCMKpa7oB2blak8ZSMO0ISaFD7f9uSH62fb/cRUYjxWLr3TTpVq2P2sjXpcXDKzWeXvnYMwxpjvUc7V1V9tKgWGmKZIhagQ== 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; bh=mFkJOdcnEnBUOiYYOk1YQlzZwJbyWBVjHTFgtIZsexQ=; b=Pgkne/Np1lXyHj7e3i3gi+1Cj8cNap6pniCb0GgchxnqtvWaa0ivsEVN9e9eS07QSQLic/yuOHmdY2M5gfTtEfpp2YJfIFWdSE7W8L7TIFXLcjjdMwOGaMdCRQqFZe8yz732hZvyVv3IUIEOHTGSBGwpNDdHHg0MoKhUab3iCFXYsyJ29U60722AVrNHAoefBJBD2SBrZey2VwfIovigrupnxnCEj7iWtMfwc3Tj37ZFJLmPcPXDr2FAkh5oytbFPlhtSIzm9GenYws5OrqJjWxGFpqSeYotX2EFfPPK/VBLcaCFE2tSGu16bvEMwNR8EjPbAFF4mbjb51zibYFcyQ== 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=mFkJOdcnEnBUOiYYOk1YQlzZwJbyWBVjHTFgtIZsexQ=; b=FiqrNkWeCO7JmnN1cYZ83SyM02jZRD/5eYhVrV2WlLxlMPz9e/F8XcOEYh/eJ7l4/7eafEfQORCCR7Ltclzyf0J5kOBmdojhDx2DJ/aLOmmLp5QhYjgC22eqyAP43DO/ICyrTj2aIS8nHETkb4vbfTS1pu2NxubM5LDK3tfMuTE= To: Jeremie Juste Subject: Re: [PATCH] async process in R Thread-Topic: [PATCH] async process in R Thread-Index: AQHXsvnJzoCj4BxQkUGPNSEgqXkMOKu4NP8A Date: Mon, 27 Sep 2021 18:28:33 +0000 Message-ID: <08FCAE37-4D75-4E06-9FA2-7E2939F74709@health.ucsd.edu> References: <87zgrzclb5.fsf@debian-BULLSEYE-live-builder-AMD64> In-Reply-To: <87zgrzclb5.fsf@debian-BULLSEYE-live-builder-AMD64> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4cdf3f39-008d-4ce0-ac7d-08d981e49cbf x-ms-traffictypediagnostic: BYAPR19MB2742: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: v0/t1N8xcbN54ftELtHGmyjtkGIu1f4YCUOp4DR4hBOK1JY4E5IZQoq4cufO5kFvOBTwPFSs9QJ0geBn8IzzVzLu6K2NXq6+cjd/BFkPETVd6qRghSaQp0QT6R9doHZkdk9aZMhA++rSdcU/jFV87wU+eVUMqFRk+aOFZSK3xLpr4K9NQPNOSM4jmC5Gj9lsTtwuRTAvB8zc+SVt1FMXhGPEFOAP61y8JyjlMOjjzSMe680bhl7uoc2c6A4ioLrlATYVPk+jlEp305oHb3j+370ZYoJWJAkfnUR0BVytGBM5q/9YEcmlzUIFokyXn5Yya9LVa4B8GUCDSz5AOI6quPt5M0NCFIr/RhsfTv41PLaCEt7FdjCmP/6rxzq0Lb/sNKc+y5bZtjDLCmVNWbRr+8qgf/JrxHliQ22yfh4YUS28NMS/VGzhSOYz1rhvFme+EIJPqlhn1EjpIUVLeu45D+S7LVNTYhISxAJoQDyGWaS6OPDDNaOkYddohj48sUwA7OOazq9DUtn4rvqoljEHWHnpe1GKfiE4kOF4Jb4mU6rF8+9Hbn8BV+bOgq2Hb+AUEvQ+C4Q0hTGwZL3SboEsSUBVnoIY1QBYFmLBBnRzOTqQZixgTOTdLr6PMaNuDlQ7KVtMiY40UbU6m2Xvf14B8pB8R46trYM5H/W6OEJbUzK0ITScy79yYOfufAEHomRAwhF3lOTwMkXMwe7BuRSl2Un21BnHL+Z/cijDMctjh64= 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:(4636009)(366004)(71200400001)(8936002)(316002)(66446008)(53546011)(122000001)(508600001)(6486002)(38100700002)(75432002)(6512007)(54906003)(2906002)(66946007)(6506007)(86362001)(76116006)(4326008)(66556008)(64756008)(66476007)(2616005)(5660300002)(38070700005)(186003)(83380400001)(6916009)(33656002)(8676002)(4744005)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?aR4P16wFNnCo8Jeb0BSLLjxyPQUzG2mgDhBRBfiPCLeya5nZdG1Pw5wsb5Zi?= =?us-ascii?Q?fitjicUGlK0+El3TFCiAACZGRfnQxtbG2hfN6v9KlYltog+SnZcbagfPdD6u?= =?us-ascii?Q?gGi65hPpVJov/sj0+AWT209L6YGh6OjOb0dDeK5XDIvj5b1GPNcQbHna2B5f?= =?us-ascii?Q?9Vw4/m9fmB2UzbtqfHELRv4XdvsMrD/oDeldmWPpAe2uF+vzNO82GWqjNmeV?= =?us-ascii?Q?nN/98C7TYteNRRMsYTlTdyBO6/KUf5FFJ2wD4Jq/gGtsN1WsDrCpbk6JA6Dq?= =?us-ascii?Q?/wX7URdomQGcksDi00FWUg/IAhP3Ybw3Hzi5KG97QTRcwt5oKG8d66MSPGcX?= =?us-ascii?Q?/GjEJfIngQ6ZVdwTcGW02Qnx5zRFv9bp3gI1OfOQqbDXWgUdcH+C3/vzXfuS?= =?us-ascii?Q?zmqNv5YAxqu5rq532LQ9/pB2ayqbPnFLIpsAlSKbUsXaWQ/HgNWQQP2IACIx?= =?us-ascii?Q?m2yU1t7QPQvXPA4SczvahzFq/leflakRvVQ+sfhJgVwbL/1KvTIDLbMtM0CU?= =?us-ascii?Q?rypTreBGURqqO1EcSNmft91/Tdr1dgaD46anU0O1fizDCrd2oGH8vsKfhGvu?= =?us-ascii?Q?egSYwlYVuIBijz/jt4mISjcLbG/koqkvGyJfA8GQRo4/yi0ZketMcPr1ySL7?= =?us-ascii?Q?wOzNnqh/AMWQ2OtvvAk81+Xa0Yq9pCPoT8mhvpjo3OaCodSGX0F3hvOb5ANI?= =?us-ascii?Q?nadOACsR4vvpxfpDPbH8ik7cOwl0YjLjDex9p7J64xtMUKTxTZ5/HKuBJyf1?= =?us-ascii?Q?KbCtcLs5zSjL+ymziZX+q05vxAcDFGLBD6mdh7Y5p1VmliWe5JXKC1OgWcri?= =?us-ascii?Q?h8+nhPpzViePCG9WVYHtap+X01OSWjAHRd9wuQ7artKzRj+eo86D5d29yrc9?= =?us-ascii?Q?Wu1qo3VTIHGYW+FMpABO3BMQt9m3ou/XnmtK0gUj/aQp7AEiOCc4iasJeXPQ?= =?us-ascii?Q?Rt2IX3mN806rTwaSWRZFVraMGXojmR+aK035NTg6Uq39qCMMX0EobjU3hJVT?= =?us-ascii?Q?7VQOopuQKrSRKfqAfipUaQZf2n+3MhUSdJn68kaveQiYiT59dwUs8JI5kXvx?= =?us-ascii?Q?R7QgMxytBeSnZYxSVjSXKoj4LpCcFXNnP+kq5XJ7DxtgMeTgEh/EzplhzyOx?= =?us-ascii?Q?2nVhGxbDE9MPD35Nh1gCiUZ/RwoIi1hX0G+z68C1IhM8n/vDvU9VydSd3yXg?= =?us-ascii?Q?p8fIFPztfh/of04XsCFKfm/P89l5kJLnNAx1UEgVpXk3IsOnb8E04+3xiJBf?= =?us-ascii?Q?L4j1DfsrE5EKlJuoW8tWJeTQqlZ0c6w16gb4UaSA1fzfpxcAiZaXbNrRu22d?= =?us-ascii?Q?T/R3j9DrkedwPjt7e/SHc4V2HgESTuXopdaolH8Gl3DAu2oroS5u1WDOvskh?= =?us-ascii?Q?LcTnyyHmJKUscWcJPfXUMbYqFT8F?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" 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: 4cdf3f39-008d-4ce0-ac7d-08d981e49cbf X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2021 18:28:33.1439 (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: Bl6d8nJn3XMjGfSG6usfz04AmgAAznt8R6OE6YS3ImdbX1311DrsocQLwJ+0jWRVFttzDMPel7DGScy8vophGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR19MB2742 X-Proofpoint-ORIG-GUID: fE8YRWVRZ3WvHAidfZYv7pm_P6QnqsWa X-Proofpoint-GUID: fE8YRWVRZ3WvHAidfZYv7pm_P6QnqsWa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-27_07,2021-09-24_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 spamscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=801 mlxscore=0 suspectscore=0 lowpriorityscore=0 adultscore=0 clxscore=1011 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2109270124 Received-SPF: pass client-ip=148.163.133.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0a-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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jack Kamm , Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" Reply-to: "Berry, Charles" From: "Berry, Charles" via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632767393; h=from:from:sender:sender:reply-to: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=mFkJOdcnEnBUOiYYOk1YQlzZwJbyWBVjHTFgtIZsexQ=; b=rmc3s5OY9GoPN/oZSydJaDZRYOFHp+h4/fB2gYBq0w+BWr4aMC60lHxuKqngC8dpHqpbYW i0bVvg+++EQ3ovRuOP7JekJcaFY0M+j1GyvhjZIcfxeMQSpSyEm2enlAVQb1lStgn0knLj 6U3peLV61tr9PyrSn9TDknHyF57Q2SumAyxJEWFO/wa/vEb1ww+F2t1P4qNuRe2w1vT/65 Uf5ZGYZNvrTRx2ceYD7sruilB00XiRxDybFbhk4KcXDCtOl9M3ub+6VG7tFOBi4FYZGVz2 IA9G1A05PyPHpAT7tkH8iGHLN7VN4Qf85s4+LtdX4dR2fShBzqsTMfSKVMfnCA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1632767393; a=rsa-sha256; cv=fail; b=TUiHjnqiHATdEXrhIAxUc0iCCdjWuWcZB9HQ0MwcnMWuuPux82GV7S13mr2HFxCLQIfnFS OBinnDmagioCtAWIe9dr0GYhY4iUbLk6EcF/clhe37scwMQrBXVLPwwWZFxgNyN7VEqCx6 MvyvLtnvGLvrxH+aSb21TZ9hhEe7vxyMVsSrLM6kXdzm38mWzCxEJFwDoZjgb6AmC4SHPm QSLyWEMHV5pl0SHkJ/1X3+lOzumUe91MERu9aTHchFeberh9rl37OZNRYVOTWXYvkqgV0C gwvw3Qr/GBmO/osScRjviE5ZsbgRXC1BO+PZjArnREUfg/ASpO1Skp2R9s8BIw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=giOpntAD; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=FiqrNkWe; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: 0.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=giOpntAD; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=FiqrNkWe; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: A3A87B9A9 X-Spam-Score: 0.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: KQtf5NcQwq6S Jeremie, > On Sep 26, 2021, at 10:13 AM, Jeremie Juste wrot= e: >=20 > But for the time being result output produces the following output. >=20 > #+begin_src R :session *R* :results output :async > Sys.sleep(1) > print(1:5) > #+end_src >=20 > #+RESULTS: > : > Sys.sleep(1) > : > print(1:5) > : [1] 1 2 3 4 5 > : > 'ob_comint_async_R_end_53c0a42fed17cf78f5508e5293029430' >=20 >=20 > From my understanding the async command of python does not suffer from > this issue. I'm not sure if the issue needs to be solve at the ob-R.el > or at the ob-core.el. I welcome any comments on this patch or any idea > to move it forward. It looks like you have `(setq ess-eval-visibly t)' here. I think that is a = default setting. With (setq ess-eval-visibly nil), I get=20 #+RESULTS: : >=20 : [1] 1 2 3 4 5 : > > which is better, but the prompts still need cleaning along the lines of `or= g-babel-R-evaluate-session'. It seems like this is an ob-R.el issue. HTH, Chuck