Installing Org 8.3

Org 8.3 is ready on Elpa so those of you installing it with the package manager can upgrade at your convenience. When I upgraded and reloaded Org I got the error message

Invalid function: org-babel-header-args-safe-fn

After some experimentation, I gave up and started trawling the Internet. It turns out that if you’re trying to use R in Babel, you need to byte recompile ob-R.el to make things work.

I’m not sure what the optimal procedure is but after discovering the problem when updating my iMac, I followed these steps on my MacBook

  • Updated as usual with the package manager
  • byte compiled ob-R.el by calling 【Meta+xbyte-compile-file <path to org>/ob-R.el
  • Restarted Emacs. Still got the error so I byte compiled ob-R.el again and
  • Restarted Emacs

The main thing is to do the byte compile. After that, you can enjoy the new and wonderful Org mode.

This entry was posted in General and tagged , . Bookmark the permalink.