From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas Subject: [BUG?] Org Mode 20150831, ob-R not working Date: Wed, 02 Sep 2015 15:19:42 +0200 Message-ID: <55E6F76E.9090901@friendlyvillagers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX7x7-0003s8-E6 for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 09:19:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZX7x4-0001pS-0C for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 09:19:49 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::7]:58640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX7x3-0001or-Ld for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 09:19:45 -0400 Received: from [192.168.178.21] (p5496613F.dip0.t-ipconnect.de [84.150.97.63]) by smtp.strato.de (RZmta 37.11 DYNA|AUTH) with ESMTPSA id U007b8r82DJhsJL (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Wed, 2 Sep 2015 15:19:43 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Hi There, updating from Org Mode 20150713 to 20150831 (Elpa package) gives me an error at startup: #+BEGIN_EXAMPLE Warning (initialization): An error occurred while loading `/home/thomas/.emacs': Invalid function: org-babel-header-args-safe-fn To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. #+END_EXAMPLE And ~emacs --debug-init~ says: #+BEGIN_EXAMPLE Debugger entered--Lisp error: (invalid-function org-babel-header-args-safe-fn) org-babel-header-args-safe-fn((:cache :colnames :comments :exports :epilogue :hlines :noeval :noweb :noweb-ref :noweb-sep :padline :prologue :rownames :sep :session :tangle :wrap (:eval "never" "query") (:results lambda (str) (not (string-match "file" str))) :width :height :bg :units :pointsize :antialias :quality :compression :res :type :family :title :fonts :version :paper :encoding :pagecentre :colormodel :useDingbats :horizontal)) byte-code("\301\302\303\304!#\210\305\306\307\310\311\312\313\314\315\316& \207" [ob-R-safe-header-args put org-babel-default-header-args:R safe-local-variable org-babel-header-args-safe-fn custom-declare-variable org-babel-R-command "R --slave --no-save" "Name of command to use for executing R code." :group org-babel :version "24.1" :type string] 10) require(ob-R) ... org-babel-do-load-languages(org-babel-load-languages ((awk . t) (python . t) (sql . t) (asymptote . t) (scheme \.t) (sh . t) (lilypond . t) (R . t) (ditaa . t) (dot . t) (plantuml . t) (C . t) (java \.t) (sqlite . t))) eval-buffer(# nil "/home/thomas/.emacs" nil t) ; Reading at buffer position 3634 load-with-code-conversion("/home/thomas/.emacs" "/home/thomas/.emacs" t t) load("~/.emacs" t t) ... command-line() normal-top-level() #+END_EXAMPLE I'm having a problem with R. In my .emacs I load R like this: #+BEGIN_SRC emacs-lisp (require 'ess-site) ;; see http://orgmode.org/worg/org-tutorials/org-R/org-R.html (org-babel-do-load-languages 'org-babel-load-languages '((R . t))) #+END_SRC If I remove R from babel languages, the Error disappears. I get the same Error when I require ob-R: #+BEGIN_SRC emacs-lisp (require 'ob-R) ;; Invalid function: org-babel-header-args-safe-fn #+END_SRC Huh, this is odd! Am I missing something? If not, how can I revert to 20150713? Many thanks, thomas