On Tuesday, March 5th, 2024 at 09:12, Esteban Venialgo <tetume...@posteo.net> 
wrote:

> I'm a newbie with org-babel, but I think I'm facing a bug for R code 
> execution. Basically, I have a simple code for testing:
> 
> #+begin_src R :session test
> A = 1
> #+end_src
> 
> I get a lisp error when I try to export this code to latex. Also, if I remove 
> the session name "test", the code will run in the second attempt. I'm using 
> Emacs version 28.2 and org-mode version 9.6.17.

I can't help understand the error message, but I did try the R sample and have 
no problem running it and exporting it.  I suspect it might be something about 
your local setup.  Could you try starting with =emacs -Q= and loading in Org 
and enough else to run the R snippet?  How to get started with that is here:

https://orgmode.org/manual/Feedback.html

It doesn't cover getting R working, but we can help with that.  I can look for 
a snippet of code if you need one.

Cheers,

Bill

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



Reply via email to