[...] > > The problem is that nothing appears in the org file; instead, I get the > following error message: > > Evaluate this clojure code block (simple) on your system? (y or n) y > executing Clojure code block (simple)... > org-babel-execute:clojure: Invalid read syntax: "#" > > This is very confusing... From looking at the relevant elisp code: > > (read > (slime-eval > `(swank:interactive-eval-region > ,(buffer-substring-no-properties (point-min) (point-max))) > (cdr (assoc :package params)))) > > =read= is trying to interpret the code. But I'm not sure what this is > intended to do in this case. > > If I change my code to use the Java =.toString= method on my object, and > ask for either output or value results, it works: > > #+srcname: simple > #+begin_src clojure :results value > (.toString (variable [-1 1 2 3])) > #+end_src > > #+results: simple > : x={ -1.0, 1.0, 2.0, 3.0 } > > > Can you help at all? I am a little confused, to say the least :( >
Yes, I just pushed up a commit which should solve this issue. Babel tries to read the results, to see if they should be inserted as a table or verbatim, it will now default to verbatim if reading of the result throws an error. Best -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/