I am pretty sure this is a long-standing "feature". Try this: #+BEGIN_SRC emacs-lisp :results raw (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . nil) (R . t))) #+END_SRC
I have never been able to use a babel block that outputs a list of cons cells without explicitly setting results to raw or code. The problem here is your code evaluates to ((emacs-lisp) (R . t)), and the t somehow gets interpreted like it should be a list, which it is not. So, it cannot be made into a table for output, and you get your error. Changing the header just bypasses this function and outputs the results more directly. Daniele Pizzolli writes: > Hello, > > my attempt to use org-mode for both interactive presentation and final > report was unsuccessful due to a series of bugs and nuisances. > Fortunately I can use the result of tangle. Will report the issues > encountered to the list in the next few days. > > Here is a minor one. > > The following code, taken from [[info:org#Languages]] works if run after > manually selecting it and running with M-x eval-region. But with M-x > org-babel-execute-src-block it triggers an error. The *Messages* buffer > shows: > > #+BEGIN_EXAMPLE > executing Emacs-Lisp code block... > orgtbl-to-orgtbl: Wrong type argument: listp, t > #+END_EXAMPLE > > > #+BEGIN_SRC emacs-lisp > (org-babel-do-load-languages > 'org-babel-load-languages > '((emacs-lisp . nil) > (R . t))) > #+END_SRC > > #+BEGIN_SRC emacs-lisp > (org-version nil t) > #+END_SRC > > #+RESULTS: > : Org-mode version 8.3beta (release_8.3beta-860-ge4da74 @ > /home/vagrant/.emacs.d/el-get/org-mode/lisp/) > > Best, > Daniele -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu