emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <william@williamdenton.org>
To: Esteban Venialgo <tetumetal@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: R session error (org-babel)
Date: Wed, 06 Mar 2024 06:21:10 +0000	[thread overview]
Message-ID: <_Jkfyu_SinEMpuWNeI1wP3iSqMaYrUIEFXimSJ6FeBGTKuwPycCt7oDk4eI36otevGGK6alc8Di30Sj9lo5LLIaU73GZBhPBnS5ttmkGksY=@williamdenton.org> (raw)
In-Reply-To: <20240305141225.6suoc47623o4pvm5@dcs_server>

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




  reply	other threads:[~2024-03-06  6:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-05 14:12 R session error (org-babel) Esteban Venialgo
2024-03-06  6:21 ` William Denton [this message]
2024-03-06 10:58   ` Esteban Venialgo
2024-03-07  0:30     ` William Denton
2024-03-19 15:45       ` Esteban Venialgo
2024-03-06 10:42 ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='_Jkfyu_SinEMpuWNeI1wP3iSqMaYrUIEFXimSJ6FeBGTKuwPycCt7oDk4eI36otevGGK6alc8Di30Sj9lo5LLIaU73GZBhPBnS5ttmkGksY=@williamdenton.org' \
    --to=william@williamdenton.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=tetumetal@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).