Re: [R] Calling Emacs Lisp Code/Function from R

2023-11-12 Thread Iris Simmons
Hi, Thank you Duncan, I will check with that other mailing list to see if they can guide me. And thank you Martin, I was able to implement what I wanted using the example you sent. On Fri, Nov 10, 2023 at 6:55 AM Martin Gregory via R-help wrote: > > Hi, > > if you run a server in your Emacs

Re: [R] Calling Emacs Lisp Code/Function from R

2023-11-10 Thread Martin Gregory via R-help
Hi, if you run a server in your Emacs session you can use emacsclient to send a lisp call to the server. There's an example here: https://emacs.stackexchange.com/questions/54156/how-can-i-query-emacs-from-a-separate-process/54161#54161 Regards, Martin Gregory On 11/10/23 11:18, Duncan

Re: [R] Calling Emacs Lisp Code/Function from R

2023-11-10 Thread Duncan Murdoch
I'm not an Emacs user, but the ESS-help mailing list (see ess.r-project.org) might be able to help with this. Duncan Murdoch On 10/11/2023 3:43 a.m., Iris Simmons wrote: Hi, I'm using R in Emacs and I'm interested in programatically knowing the details of all opened buffers; details such a

[R] Calling Emacs Lisp Code/Function from R

2023-11-10 Thread Iris Simmons
Hi, I'm using R in Emacs and I'm interested in programatically knowing the details of all opened buffers; details such a buffer name, size, mode, and possibly associated filename. I've been able to write such a function in Emacs Lisp, but now I'd like to be able to call that function from R, or