From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ed Kademan Subject: Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 @ /usr/local/share/emacs/site-lisp/org/)] Date: Mon, 15 Sep 2014 16:16:54 -0400 Message-ID: <87bnqgzljd.fsf@kademan.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTci6-0000sB-2M for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 16:17:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTchy-0006Km-Je for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 16:17:18 -0400 Received: from mail-qc0-f172.google.com ([209.85.216.172]:63797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTchy-0006K8-GH for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 16:17:10 -0400 Received: by mail-qc0-f172.google.com with SMTP id i17so4694647qcy.17 for ; Mon, 15 Sep 2014 13:17:02 -0700 (PDT) Received: from dl (wireless.genesee.edu. [50.59.144.250]) by mx.google.com with ESMTPSA id k52sm10233597qge.42.2014.09.15.13.17.00 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 15 Sep 2014 13:17:00 -0700 (PDT) Received: from ejk by dl with local (Exim 4.82) (envelope-from ) id 1XTchi-00083v-7P for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 16:16:54 -0400 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain I can't evaluate R code blocks in org files. For example the file with contents: --8<---------------cut here---------------start------------->8--- #+property: header-args:R :session R-foo #+BEGIN_SRC R print(pi) #+END_SRC --8<---------------cut here---------------end--------------->8--- spawns an R session that reports: --8<---------------cut here---------------start------------->8--- Error: could not find function ".ess.eval" --8<---------------cut here---------------end--------------->8--- and does not give me a result. I am running ess-version: 14.09 and am invoking emacs as follows: --8<---------------cut here---------------start------------->8--- #!/bin/sh o=/usr/local/share/emacs/site-lisp/org emacs -Q --eval="(progn (add-to-list 'load-path \"$o\") (require 'org) (org-babel-do-load-languages 'org-babel-load-languages '((R . t))) (package-initialize) (setq ess-ask-for-ess-directory 'nil ess-directory \"~/R/\"))" --8<---------------cut here---------------end--------------->8--- EdK Emacs : GNU Emacs 24.4.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.23) of 2014-08-23 on dl Package: Org-mode version 8.3beta (release_8.3beta-362-ga92789 @ /usr/local/share/emacs/site-lisp/org/) current state: ============== (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-metadown-hook '(org-babel-pop-to-session-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-load-languages '((R . t)) org-confirm-shell-link-function 'yes-or-no-p ) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlQXSTYACgkQSG0H4oypzktj4gCgxc/cztL7vtdmg5tZBk49gpyU ZyEAoLSsA7Mp+j+UQtc7c28kqTGdpgSb =yH2+ -----END PGP SIGNATURE----- --=-=-=--