1 #+title: The Library of Babel --- off-the-shelf functions for data analysis and plotting using org-babel
2 #+SEQ_TODO: TODO PROPOSED | DONE DEFERRED REJECTED
3 #+OPTIONS: H:3 num:nil toc:t
4 #+STARTUP: odd hideblocks
6 [[http://downlode.org/Etext/library_of_babel.html][Full text of the Borges short story]]
8 (setq lob (org-babel-lob-parse-buffer))
9 (setq x (gethash 'plot lob))
10 (hash-table-count lob)
11 (maphash (lambda (key val) (insert key)) lob)
15 Plot column 2 (y axis) against column 1 (x axis). Columns 3 and beyond, if present, are ignored.
17 #+resname: R-plot-default-data
21 #+begin_src R :results silent :var data=R-plot-default-data
25 #+tblname: example-R-plot-data
32 #+lob: R-plot(data=example-R-plot-data)