emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* "begin_src R :session" opens R session when file first visited
@ 2021-10-16 17:41 William Denton
  2021-10-17  3:06 ` Greg Minshall
  0 siblings, 1 reply; 4+ messages in thread
From: William Denton @ 2021-10-16 17:41 UTC (permalink / raw)
  To: emacs-orgmode

A question for R users:

I run Org from the source tree, and recently (a couple of weeks ago or so) 
something new started happening with my Org files with R source blocks:  when I 
open one up, an R session automatically starts, without me doing anything.

For example:

     #+BEGIN_SRC R :session foo
     1
     #+END_SRC

If I have that in a file, restart Emacs and visit the file, an unnamed R session 
begins right away (without a C-c C-c).  I changed "R" to "python" and 
restarted, and all was normal (i.e., nothing happened) but when I edited it to 
say "R" again, the session began as soon as I put the letter in!

I haven't changed anything in my configuration related to Org or R, and I can't 
see why this is happening.  Looking at recent commits I saw all the R 
async work, and changes made to session-related code, but I can't tell if 
there's any connection.

Are any other R users seeing this?  I admit I haven't done a full investigation, 
but I thought I'd ask.


Thanks,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-23 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-16 17:41 "begin_src R :session" opens R session when file first visited William Denton
2021-10-17  3:06 ` Greg Minshall
2021-10-17 12:04   ` Jeremie Juste
2021-10-23 20:11     ` William Denton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).