From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UDFSJ0VMUmFk9QAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 00:57:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eKf0IkVMUmFyCQAAB5/wlQ (envelope-from ) for ; Mon, 27 Sep 2021 22:57:09 +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 DD9872E4E3 for ; Tue, 28 Sep 2021 00:57:08 +0200 (CEST) Received: from localhost ([::1]:54566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUzYa-0003Pl-1n for larch@yhetil.org; Mon, 27 Sep 2021 18:57:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUzXz-0003Pa-EA for emacs-orgmode@gnu.org; Mon, 27 Sep 2021 18:56:31 -0400 Received: from mx0a-00395d01.pphosted.com ([148.163.133.170]:25174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUzXw-0000p6-PG for emacs-orgmode@gnu.org; Mon, 27 Sep 2021 18:56:31 -0400 Received: from pps.filterd (m0173168.ppops.net [127.0.0.1]) by mx0a-00395d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18RMTIM7011811; Mon, 27 Sep 2021 22:56:24 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=WW6fKAp1L8Fal9PyUdPXbOyV0gMMAeNptoFgnBZZ0Ic=; b=HKIEC+vMeUE2zJWsRAWUPNvGh2Z68pz/86EVCcKe9ELg3vILRvQX2MJ6MY5zcvmjqt14 Of9jEo3csVe5HWyf8YoJtAXPb2Zog5Hach/9UAxq8zaVTcL0ACtACWdVi2BhjbBk0Qik QMVeejXFNQb8NfmJsLMcy1hYMhHpOO5e/1AO1QIGG5oM4mwO7Q7FTQV+wO5JgS+uLz/y DGV30bt2yETFi+R/LpoTIojSLSwZFrLRkKAENcrt8Ja7vwIETo/AAkXQ9znPsV83xWiO Tggd0C6RVrjaejcarqWbdJsRaIbVrELSOLC3jWOLY3NJ6RKg0uvsJNoKcvROUb2B/1Lq mA== Received: from secdlpezp04.ucsd.edu ([40.112.251.180]) by mx0a-00395d01.pphosted.com with ESMTP id 3bbpsu01x0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Sep 2021 22:56:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EAiYIfobI4/v/AGKYOtfPS4GPk9yQ3a0BPJnaEhh9kqLV2ZOoVpDPhgJgnSr8fwR1Zt9sMecw3IoPk6oEKzKX8CTHP+3TR4GF/aOAJwatLjix93X3iUG8hF3ZqoWec0OD+p3htGnzilZSEGg7+2hfuzBGZ3fm6yzOsGcsDCzQrCw5A9lb9CDgbQ8Heq/FqhjbrqM0eJS/uaUJgCZuzpDgT70LWzo0vcKaR3HT/CYT2M/tbRuTvincTDPylcmsmOGVwIYOIw9vIHRxkfxmll9O3o0ybncHaL/fugzWZhLvfn7NSV20QI6O1GmLJSSw0Wj4fMM8u7qlLQjWH+UtNNhNg== 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=WW6fKAp1L8Fal9PyUdPXbOyV0gMMAeNptoFgnBZZ0Ic=; b=U4xXMM+pjrcqyFfzDer5P+5nZNSx/o0kvutvQZAGDDw57DyuyUMqwdvzckMnK8A1UCMzw41M46hqI5B+YGrxmtIgkD0lOLw1E8cH8ahPW0l0tMsj8PS5Uo+D7dmhIz9uAgKenA8RzDDfS2ZheoTw1M6Z6MfWXxIlbp6/iDukFruU2CmdzRK0EqNzyh/IcV+6LbSjzjARin9SC5e6uKsFyKSvg/7XOWLUzytLfXyGMVW0Imwj3PvOXKX+kWU1iaw6ENUvOU3ceBgPyWkvTgd40RTLA4qAEb6aiA6lp+rbiXKTAo7jQbaT9pPeeT/qNz0+4r9KNhzI7UwIs8LlOYWxcg== 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=WW6fKAp1L8Fal9PyUdPXbOyV0gMMAeNptoFgnBZZ0Ic=; b=QD4Q5VUIPhY1kuEmwUgE3/12M5lK/5sJVXZpIAk932YFq/Ub8p4uo64zpfoxPk6K0kjM6WvTC7FA/H3KjC25au5ezzRdmW2oFYpSFJw+WPc68DvmIcaUoB2pK7qfXMr7J1lkAtjxY4cvva8PulloQGtlv+vYc2bZTNFic9GlNRY= To: Jeremie Juste Subject: Re: [PATCH] async process in R Thread-Topic: [PATCH] async process in R Thread-Index: AQHXsvnJzoCj4BxQkUGPNSEgqXkMOKu4NP8AgAAhn62AACk0AA== Date: Mon, 27 Sep 2021 22:56:21 +0000 Message-ID: <6BFD70A9-41A8-4E0F-8022-E6355BF4250A@health.ucsd.edu> References: <87zgrzclb5.fsf@debian-BULLSEYE-live-builder-AMD64> <08FCAE37-4D75-4E06-9FA2-7E2939F74709@health.ucsd.edu> <8735ppdapw.fsf@debian-BULLSEYE-live-builder-AMD64> In-Reply-To: <8735ppdapw.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: ba32a205-db71-4cc1-d742-08d9820a0642 x-ms-traffictypediagnostic: BY5PR19MB3254: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VKDjbF3Fy2xw+zYKsaaBHd6jhgJQu15IpcgZ7f3Txq9rqFiit4C/E3Ahd0DmeWlFtAJLm0IrDm5/EY/XbqgWp1qfUcValExCBPORA0RhDGUR1VGC/SfWo+ExUtrWeqB7ZswnWxDk8HuXl6UYpH/Z4dlJpeX8xK6rp3PBu5K6PgKROU0+g46OUChDhEduEZDmhfVO8zNBIdLuwApcxqX07OSWhRKY+3kt7ogXIA+5FUUUpP7JyVLTOLkeA2o63ACeEB9QZt0iALZvqcNS/BxTwc2k3oUquCxCIFpjng0ZGINugI+l+7WoMpfp/fwCj0uvFr5ZZ3LT9lqdQuDIZgtK1y1lPrZtt76QOueiW7cvzw28xbuQZXkrFJ1VmezgIhGgwR/Ug76eL6MtCpVB5a7q+g0z+8DLrrtwTnm8PKOrQTc19ZR5P2GAXlNnSEGDWpWVwmMny3zZzJbZy5wHYva1zH8o+Ea+VtXb5X8AcxZQNHv0LSFVvnxlVxFjzjB+qfG7lIwnshtH2giJpi+b9y28kkk5Bi4dTrVK82+eGFtElSh2MbVIDCy8ONuvt6HUDZvx6yh+t70BpnJ4+9ujlj6DX6Q4DKiLuh+5n9apFLxOqjnVafD1nyqiqKtIvVpnk4p7LmHWlkbECqPpValvG0jKm4yAVPWZiSbzEe9BKXSjA0TVBt6MDVveIKdb1QsYsicQRdY2ChXwCmeBxe7MXYcwIm5yGcAhtyV3Lr22eRkbz+IkyczAAvDo2i/AVrW6EE/DDsBgXW2EZWA8agSADLpNttMr6jceXrm6mrVZkx7EPxz+bc33jGSYdS8fa8gzrYol 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)(6486002)(5660300002)(38100700002)(316002)(8676002)(8936002)(186003)(122000001)(71200400001)(6916009)(33656002)(54906003)(66946007)(64756008)(66556008)(66476007)(76116006)(86362001)(53546011)(2616005)(508600001)(966005)(83380400001)(4326008)(38070700005)(6506007)(75432002)(2906002)(66446008)(6512007)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Lxec8k4masnuaTYvak5cMWfrCQMqibF3UfI9DTvOXZxlcSMKFbfmu6CKR2et?= =?us-ascii?Q?mKzup+mrFqQx9I0OJzHO3/2nIA37he+G28YQlG8LgrPCEdbk5uahOXPeTqV0?= =?us-ascii?Q?pa55QI5u8yHbZ+BiyHMo7qim8EDL9Kw8Ece611kWIAzwqmHjdQXURzIT/2Jt?= =?us-ascii?Q?VuVo7Ehmo/Ypn8E05DONSUm5CqFvF3gwXi3Z44rENDrbh7XEpugle+GsddLH?= =?us-ascii?Q?wbJnEnx8MNxO1dNVpaizNw0iSidvOxWBdTL9XScy6vQJelktwgJNLllFehoj?= =?us-ascii?Q?ndKCX8fe3X6ONvyBE+JAms2G51SPBYneZFaD/ji8sv0wSkjLpCJFUkhxAjnb?= =?us-ascii?Q?wgrAVwmJMobPjR173hcn7d1fi3zFNSYd7TAt2SAcNYUz1BXFLjiwb+tzAV//?= =?us-ascii?Q?jAydUrh1c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Xgx?= =?us-ascii?Q?xLJdTMx7lhrlEVZCViQQhLt7cQye8k0lIkewB7pQINDrkntqv8KLtXLMT9Zb?= =?us-ascii?Q?alpNAg+LYUVeXDUuWncnr6Z1GKlO?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: <7471039F4CF81E47985B4F9054EDEB71@namprd19.prod.outlook.com> 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: ba32a205-db71-4cc1-d742-08d9820a0642 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2021 22:56:21.4454 (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: Ki68AyhlQIEHwxLZFDvgxVlOrv6Te9IYV29twQOAo/wM5dBQNYb5n1bWrE66DWijOKCt/zy9uqgz01mexuqAvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR19MB3254 X-Proofpoint-ORIG-GUID: qFxg5Tx4dBOwtFF0QXXSul1tA2jLJmGL X-Proofpoint-GUID: qFxg5Tx4dBOwtFF0QXXSul1tA2jLJmGL 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 lowpriorityscore=0 priorityscore=1501 adultscore=0 mlxscore=0 clxscore=1015 malwarescore=0 suspectscore=0 mlxlogscore=713 impostorscore=0 bulkscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2109270155 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=1632783429; 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=WW6fKAp1L8Fal9PyUdPXbOyV0gMMAeNptoFgnBZZ0Ic=; b=UaeBEQa3NjEGIB9cLugl/+BzB9XW50UtdtixCT65umve/Onvcm2GNky1XiapcpbeXfLLxz p+QYpuhXytsOHoW+7GYsSDDqAxVn+r9v5r96fv5gIvbJlZojY/TsLBQHEic8b2Hu+u1Vco xCYjADRWveAgRpNnM5Kl+Om4GUCI7heiwprynPbLthDqqrBfblNp39au10JTIoGbVWubAF EhvCeEMjQ4JYN8P7gvgutqDBjtT0ohjyUsQp7l1jKPghrDSEbXS5C9mgyguO5G3yw6K8gz a4qXZSWbK7WtCdKjEzqaJK9jC8PWsV6ksOmswfpkthggROTw5MYfenr4d+WAIw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1632783429; a=rsa-sha256; cv=fail; b=aQ16Cz0O3ML13sJ3s1AwbpzxLs8UiCCQWIOSiZDOiBH4WQyw8ocxZPvSoSJTD3Db353PN/ CnvFlA5+MsjeAMPzBJtIvDuLnNWV7tWHjCdy6A72Pgapcqjragw0sRCopd/iTL8tQMPQWG 8fCwY/z6az/YvSqmpdoWgAW0GV6Kz5N7lUq/jpyoHPYpjxzauHN3GIQbvreMgUWRH1fqLo OunW0xTlfN4jdZq/WmPJh7Qiq+76YrghFZneUKGKrsw66RY8ETP45he82N+MP3trvHl16p suJBmhrs8NX/HONYV+XZFWaEEsXt2nwMB4wDomngvdAGqh/r/E8NYeyFC/Z/LQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=HKIEC+vM; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=QD4Q5VUI; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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: -1.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=HKIEC+vM; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=QD4Q5VUI; 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: DD9872E4E3 X-Spam-Score: -1.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8ge4fAT7ZtHE Jeremie, There is something in my init that doesn't play nice with this. =20 IOW, emacs -q and then load the minimal stuff works OK, but my usual startu= p does not. #+begin_src R :session *R* :results output :async yes Sys.sleep(5) 1:5 #+end_src #+RESULTS: : > >=20 : [1] 1 2 3 4 5 : > It may take me a while to figure out what it is. :-( HTH, Chuck > On Sep 27, 2021, at 1:28 PM, Jeremie Juste wrote= : >=20 > Hello Chuck, >=20 > On Monday, 27 Sep 2021 at 18:28, Berry, Charles wrote: >>=20 >> It looks like you have `(setq ess-eval-visibly t)' here. I think that is= a default setting. >=20 > Thanks again for your suggestion. The following patch to be applied on > top of the previous one, solves the issue. >=20 >=20 > #+begin_src R :session *R* :results output :async yes > Sys.sleep(5) > 1:5 > #+end_src >=20 > #+RESULTS: > : [1] 1 2 3 4 5 >=20 >=20 > The function (ess-eval-buffer), when the parameter VIS is nil, misled me= in the sense that it inverses > the value of ess-eval-visibly. >=20 > Note as well that all the tests in test-ob-R.el passed including the > tests for async evaluation from [1] ob-session-async. >=20 > [1]: https://urldefense.com/v3/__https://github.com/jackkamm/ob-session-a= sync/__;!!LLK065n_VXAQ!wfTTIQ1fHIH2f6FmnUYZow4BoKA9_bQyOgBdm4tgLfJxbDF0vVs4= sTbSQ0Zm-7YjVg$ . >=20 > <0001-ob-R.el-Patch-async-evaluation-when-results-output.patch> > Thanks again to Jack for this useful feature. >=20 > Best regards, > Jeremie