From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8BlQHr3DUWdS4QAA62LTzQ:P1 (envelope-from ) for ; Thu, 05 Dec 2024 15:16:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8BlQHr3DUWdS4QAA62LTzQ (envelope-from ) for ; Thu, 05 Dec 2024 16:16:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=williamdenton.org header.s=protonmail2 header.b=tSBe1jpp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=williamdenton.org (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733411773; a=rsa-sha256; cv=none; b=JZUgLNLKmOLJ68b9Dh5dU0I1hfFwXfvnnMO6CADnEZ56TATrMT9mlgh0Hv57QRq97gwykf Erpy8WG0i6MeSt3dr27zt38hHzrC8WsJYMRnR42Y0JKmPeVg2WpTl5QrnOtY6svjmyOh3s 1wNGV1BgyCVQAlOUYrmwPkj21x5UNdbCqnq+Q7OIWtdXSpWqkPoq+CvWM2rGnD/jZvKA0a +JzbVDAx9ApvNzf3W73Esi/wQE/+fBILtHaPrYU9pDb9H8vjlXk8TTtEjLlTjhNcqSM3Ac dsuzEdLG8pwSoiiDsK+Pxoq+SDquMt97V+lyq9q/o2eU4D6R3uFL1192Zl+/nA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=williamdenton.org header.s=protonmail2 header.b=tSBe1jpp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=williamdenton.org (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733411773; 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: 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=A0YUjYdHcOCeIxP0LtuogiQz3O0KV1KTBH3gBhhq4hI=; b=OL5QeGoPjKhgbOlS7GXmSLq16GZJKh43KhxlWz1LaNhqekEpmZbkH1P6pnkWIiFdPDeSK1 wtjwL0Ky5nrKW+AzpAhn4pF8JNvZnh6YYPlPh6sfSpBJoKKlC2fo7yx5JbD5gGjEXv0NuV R3PN8mVm57nTeJC2UfjcZrZp6MM+SKtWFzieWYkFMi5bN+BQtGv/y9qmidsK88tsgYSnkz HbS3RAYW3tqXWaYunyfE2ZpVGyPx5FI1WSa91SafZRZocMhyZW8vM1t/n2wNylUkV5ur0a /tjxpsikaCmrH9oPFsCkk1TdLk6Rjd5+ah4sgTkMI0qj5E0cLGeklN+hlds0+g== 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 07ABB51AB for ; Thu, 05 Dec 2024 16:16:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJDZV-00017h-0D; Thu, 05 Dec 2024 10:15:17 -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 1tJDZK-0000tT-QC for emacs-orgmode@gnu.org; Thu, 05 Dec 2024 10:15:12 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJDZH-0005dW-SQ for emacs-orgmode@gnu.org; Thu, 05 Dec 2024 10:15:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=williamdenton.org; s=protonmail2; t=1733411692; x=1733670892; bh=A0YUjYdHcOCeIxP0LtuogiQz3O0KV1KTBH3gBhhq4hI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=tSBe1jpp/L0+dnFrz27EQI3FWDZI4EtdkSBLgcPamtbNf9sAHwD1kAahe1dxgwKTg 2tCraENGQg1kuH6RQdrgZVDPmKDakhXpOgvBQGDK01SRVZSh6FhjV8toM7UwtYArY1 AwwOxzY2ED7ub5DlcR44LWEtTYI2t00WoQTSvJZy7WJG8f5tjUsTyL061+kyUujcPt 8On3bOEpdyIlXgdQDMmfH5x/o6uri2Ya/aUze9AiuxGrEBTH/fYYTtZskHt65Ayo0O r/TeIxhvkIAq/JBWNsjjmdB3jGxs/LZxjlfvKHkOjBHakRPCFeVo5psMGJjH9av4ht Z2Pm4CMrjuTow== Date: Thu, 05 Dec 2024 15:14:47 +0000 To: Naresh Gurbuxani From: William Denton Cc: "emacs-orgmode@gnu.org" Subject: Re: Execute R code block in existing *R* session Message-ID: In-Reply-To: References: Feedback-ID: 95794763:user:proton X-Pm-Message-ID: 351951891061d5b7b44f1bb8ea233da3eb41716c MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=william@williamdenton.org; helo=mail-4317.proton.ch 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-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 X-Migadu-Spam-Score: -1.05 X-Spam-Score: -1.05 X-Migadu-Queue-Id: 07ABB51AB X-Migadu-Scanner: mx12.migadu.com X-TUID: jwsZCjnpQRhx On Thursday, December 5th, 2024 at 09:30, Naresh Gurbuxani wrote: > With an inferior R process already running, executing an R code block (C-= c C-c) prompts for a directory for new R session. Is it possible to tell or= g-mode to execute the code block in already running R session? Is this what you're after? If the R process is in a buffer named *R:1* the= n you can use it like this: #+begin_src R :session *R:1* 1 #+end_src Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada