[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Execute R code block in existing *R* session
From: |
William Denton |
Subject: |
Re: Execute R code block in existing *R* session |
Date: |
Thu, 05 Dec 2024 15:14:47 +0000 |
On Thursday, December 5th, 2024 at 09:30, Naresh Gurbuxani
<naresh_gurbuxani@hotmail.com> 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
> org-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* then
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