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 MBD2APh9U2FFNwAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 22:41:28 +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 QDw3OPd9U2GnFQAAB5/wlQ (envelope-from ) for ; Tue, 28 Sep 2021 20:41:27 +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 9698F13C05 for ; Tue, 28 Sep 2021 22:41:27 +0200 (CEST) Received: from localhost ([::1]:51758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVJun-0004jX-OO for larch@yhetil.org; Tue, 28 Sep 2021 16:41:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVJuL-0004j9-O0 for emacs-orgmode@gnu.org; Tue, 28 Sep 2021 16:40:57 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:55926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVJuK-00031P-C9 for emacs-orgmode@gnu.org; Tue, 28 Sep 2021 16:40:57 -0400 Received: by mail-wm1-x329.google.com with SMTP id v127so47471wme.5 for ; Tue, 28 Sep 2021 13:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:message-id:references:date:in-reply-to :user-agent:mime-version; bh=xtZRaOU205qWpA6wq/1hyQhiL0KCS4AyadX3nOdBFIM=; b=pnfSBVEJV4UhgDzpkGP2h5wabp/yebc3I+wDt52L6rSp8EhVf25KZ1wooNcvAtuUjh OCGujnedVByecrKOOqu7Ie+JK2s9CRMFy2rczQk1c8pLCZWa53skt9KSZqUvQa1n9pvT 8ixSyB3qI0dAfvRhDwvOvle6JRRqzoJv31rmLjGRjyNfNTk1C3CvJTu+tCovcC2SW87D b3vdkA4nNLLyClVAFHTFo569NWylc88CIVTKUEBk0fd143/rdR/Nz2LrBdevpY8H3eIt 9XroF/3oJr3bts3AVZWN5i0KsSyVotbL82b2TLJUJfYWynXKO8AaIFMNBwXk4+AA7Alz 43UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:message-id:references:date :in-reply-to:user-agent:mime-version; bh=xtZRaOU205qWpA6wq/1hyQhiL0KCS4AyadX3nOdBFIM=; b=4sg1EKnZMtFVNSUguXHyXlkxVc9mIRr58er3CsDrsEDcUIqNWbPOMMLBGcZm9QHYbg dafqLXK+777QxuWVDBCkkXcPZdgPzmiLcSWDtCkSvocs4uK8azza+5yUd9mwdPxo7nn3 Bbas/6h2hw0EWo5H0V4lx6DzF37qiN0/so8P/3/fTJFKT+IRntliGirbK2JgYQupFln+ p18TM1C1/e501WK8umYG6ZPLDiuJwTjtPGWEhnoVefD1tJkXRI5Bq6rpAlm6ZzPagXJO hN2gPXYqQUCpSuYIhkQKq9P1xQPPzUEB2PUU3LKTXJSk2ASGwgJ5CFWzG2RcRharM7PX sNdw== X-Gm-Message-State: AOAM533SSlulCRoz6CtA2AoZMsnbHleakjPxCnWx6us8PFerxdkocdDK 3WKJq4Tr4QklYj2zsfT/IxQ= X-Google-Smtp-Source: ABdhPJzuwOUZau0i2IQ0gBXZkpxgYxm5u/5R8Pw2I7T/v8yN2QFZ+QEQotMkC2Q3PzNzpP4Jak7Riw== X-Received: by 2002:a05:600c:4e86:: with SMTP id f6mr6915648wmq.52.1632861654895; Tue, 28 Sep 2021 13:40:54 -0700 (PDT) Received: from localhost (ip-95-223-72-110.hsi16.unitymediagroup.de. [95.223.72.110]) by smtp.gmail.com with ESMTPSA id s2sm198740wru.3.2021.09.28.13.40.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 13:40:54 -0700 (PDT) From: Jeremie Juste To: "Berry, Charles" Subject: Re: [PATCH] async process in R Message-ID: <874ka4bfjy.fsf@debian-BULLSEYE-live-builder-AMD64> References: <87zgrzclb5.fsf@debian-BULLSEYE-live-builder-AMD64> <08FCAE37-4D75-4E06-9FA2-7E2939F74709@health.ucsd.edu> <8735ppdapw.fsf@debian-BULLSEYE-live-builder-AMD64> <6BFD70A9-41A8-4E0F-8022-E6355BF4250A@health.ucsd.edu> <87h7e5b1bg.fsf@debian-BULLSEYE-live-builder-AMD64> <16B132DA-253F-43CA-917B-421256C7967F@health.ucsd.edu> Date: Tue, 28 Sep 2021 22:40:50 +0200 In-Reply-To: <16B132DA-253F-43CA-917B-421256C7967F@health.ucsd.edu> (Charles Berry's message of "Tue, 28 Sep 2021 18:22:08 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=jeremiejuste@gmail.com; helo=mail-wm1-x329.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, 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.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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632861687; 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=xtZRaOU205qWpA6wq/1hyQhiL0KCS4AyadX3nOdBFIM=; b=qW49Yj/P8XULjIo+qatvl0MA7K7Y4vMKNItNq8Q0NgIohXioERwW2d+sRk984kxEcLDWCo zVoMek3wXtiGh0enZRKptZeUSnaQFRea1qIWgLuGC+QqXdmeXdEOPXEzt7Hq5GfD3XMSgZ WpgY5oto81Xbw/ecvUTYFmSCGwlccUGgTwA1eNQeb002wzo9hNfNSwqY0h1IDCjEfxo1wq VsmKxD6qyKN0tqX/Ic1pESntDHZlZT+k/enwfs14uoXWBpYvW2O8jlcDx+kV2V8LqicOlg tRNtXNLvAGamC7/CZ8E6qfRKcFA7ZXC+0qkYuX2QvUkuKhUrVDIZjkwEtHdj2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632861687; a=rsa-sha256; cv=none; b=CAWg/b9i6DDzGWeMAQZEAywabe+Eed+dr3BVsqz71EUwd+FwUkGfjXhwkCJVxtsXdW+Uaa eiMhs4B1SeuzIq/FSkuQLOtbJf7iZLDZhcgeaSkO06jy+Navodh3N44WcseoEDRJTyCwlb AYP7zOWRIJwZ3G7a7wBPmPZxN6DhPtH1DSv2HOq91zT/tNUzAFT1Lcud7Dan/pVMBA49H1 IQ17rP2OfJxfOFiyO+ZCVP9PqMDZ5P4UVIEiwjg3j5s/Tr9+vE32CrgIXrR2aWtnm+NuLu 5VGDWIUqdKHOhaw1SZYKjMOXWCLis5rT00chgFBAUTnsL0F5+LNiocABDjB4Rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pnfSBVEJ; 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.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pnfSBVEJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 9698F13C05 X-Spam-Score: 0.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: +9YDcd+PrAAi Hello Chuck, > OK. The patch works when applied on top of the previous 2 (but the second one has the same name, so there is that to watch out for). Thanks for the feedback, I'll make sure to provide unique names for patches in the future. > > However, I think we are not quite home free. With `:async no', this works as expected: > > #+begin_src R :session *R* :results output :async no > Sys.sleep(2) > 1:5 > 10: > a > 1:2 > #+end_src > > #+RESULTS: > : > : [1] 1 2 3 4 5 > : > : Error: object 'a' not found > : > : [1] 1 2 > > But changing to `:async yes', the error aborts in a way that omits the output. Interesting, I haven't thought about errors cases enough. Async process will be on the 9.5 release and this issue will be next on the todo list. Many thanks again for the feedback. It does help, Jeremie