> FWIW, I don't get any error messages. I have no idea what the exported file
> should look like: I attach both the exported pdf and the exported html below
> (as well as the org file, which is just cut-n-pasted from what you posted).
> Org-mode version 7.7 (release_7.7.224.g6e14) GNU Emacs 126.96.36.199
> (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2011-09-13
> I'll pull the newest bits and try
Thanks, Nick. This is getting curiouser and curiouser. I can now reliably
get documents exported using the vanilla 7.7 Org-Mode, but not with the
development version I currently have installed:
Org-mode version 7.7 (release_7.7.304.g9da4)
I suspect that the following bit of the error message is the relevant one:
org-babel-R-evaluate: Wrong number of arguments: #[(session body result-type
result-params column-names-p row-names-p
but I don't know what to make of it.
In order to simplify the discussion, I've been working with some Org code that
I took from the "worg" web site. Please see below for details.
I've also appended the pieces of my .emacs file that relate to finding
At this point I guess I'm ready to declare victory and slink away, but it
WOULD be interesting to know what's going on.
#+AUTHOR: Michael Hannon
#+BABEL: :session *R* :cache yes :results output graphics :exports both :tangle yes
#### Example taken from:
* Example of Org-Babel for R Literate Programming
** R text output
A simple summary.
x <- rnorm(10)
** R graphics output
Note we use the object =x=
generated in previous code block, thanks to
the header option =:session *R*=. The output graphics file is
#+begin_src R :file a.png
y <- rnorm(10)
Same plot with larger dimension:
#+begin_src R :file b.png :width 800 :height 800
---------- Org-Mode path variables, standard and devel versions
(setq load-path (cons "/usr/local/emacs.d/ssh" load-path))
;;;;;;(setq load-path (cons "/usr/local/emacs.d/org-mode/org-7.7/lisp" load-path))
;;;;;;(setq load-path (cons "/usr/local/emacs.d/org-mode/org-7.7/contrib/lisp" load-path))
(setq load-path (cons
(setq load-path (cons "/usr/local/emacs.d/org-mode/org-devel/org-mode/contrib/lisp" load-path))