"Eric Schulte" <schulte.e...@gmail.com> writes: [...]
> Alright, I've made two changes, first, it is now possible to pass elisp > vectors through to code blocks, e.g., > > #+begin_src emacs-lisp :var data=[1 2 3] > (elt data 1) > #+end_src > #+results: > : 2 > > Second, I've added a slightly hackey but seemingly necessary > post-processing step to a call to calc-eval in ob-calc to remove quotes > from vectors. This allows vector processing to take place---at least as > far as my limited calc knowledge is concerned. For example; > > #+begin_src calc :var y=[1 2 3] > 3 y > #+end_src > #+results: > : [3, 6, 9] > > Hope this helps -- Cheers -- Eric It does indeed. It all seems to work just fine now. I don't necessarily know much more emacs calc than you but the little I know seems to work just fine. It's such a powerful package sitting there mostly idle and org babel is probably the best way to release it for general use! Especially for inline calculations... Time to re-read the calc manual again and play. Thanks, eric -- Eric S Fraga (: http://www.homepages.ucl.ac.uk/~ucecesf/ :) _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode