[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R session error (org-babel)
From: |
William Denton |
Subject: |
Re: R session error (org-babel) |
Date: |
Wed, 06 Mar 2024 06:21:10 +0000 |
On Tuesday, March 5th, 2024 at 09:12, Esteban Venialgo <tetumetal@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