org-mode/examples.org

28 lines
725 B
Org Mode
Raw Normal View History

#+TITLE: Examples of Litorgy in Action
#+OPTIONS: toc:nil num:nil ^:nil
* 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=.
#+srcname: directories
#+begin_src bash :results replace
du -sc * |grep -v total | head -n 1
#+end_src
| 4 | "block" |
[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.
#+srcname: directory-pie
#+begin_src R :var dirs = directories
pie(dirs[,1], labels = dirs[,2])
#+end_src