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.
du -sc * |grep -v total
[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(as.vector(t(dirs[1])), labels = as.vector(t(dirs[2])))