Mattias <mattias1...@protonmail.com> writes: > When exporting an org file with an R sourceblock that results in a table I > get the following error: ~(wrong-type-argument number-or-marker-p nil)~. > > This happens when using ~emacs -Q~ and putting the below code blocks in a > test.org file; then using C-e h o to export to html. > > #+begin_src emacs-lisp :results none > (require 'ob-R) ;; C-x C-e here as it's needed to run R blocks > #+end_src > > #+begin_src R :exports both :colnames yes > mtcars > #+end_src > > This does not seem to happen in Emacs 28.1, or in 29.0.50 with Org 9.4.6. > > Debug on error shows the following: > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
I am unable to reproduce on the latest main, but I can reproduce using built-in Org version on Emacs 29. This will be fixed in the next release. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>