0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-18 04:40:03 +00:00
org-mode/examples.org
Eric Schulte 3fee1b9cd8 litorgy-ref can now find #+resname lines (allowing caching of src block evaluation)
To demonstrate this I updated the example to now run a more
  interesting shell command (which happens to take a while to
  execute).
2009-05-22 07:03:30 -07:00

1.1 KiB

Examples of Litorgy in Action

size of the rorg repository

This will work for Linux and Mac users, not so sure about shell commands for windows users.

To run place the cursor on the #+begin_src line of the source block labeled directory-pie and press \C-c\C-c.

cd ~ && du -sc * |grep -v total
64 "Desktop"
11882808 "Documents"
8210024 "Downloads"
879800 "Library"
57344 "Movies"
7590248 "Music"
5307664 "Pictures"
0 "Public"
152 "Sites"
8 "System"
56 "bin"
3274848 "mail"
5282032 "src"
1264 "tools"

[Eric] I sometimes get weird results here, where R will import the labels into the third column instead of the second. I don't entirely trust the R table importing mechanisms so far.

pie(dirs[,1], labels = dirs[,2])