{"id":4162,"date":"2015-06-29T08:04:00","date_gmt":"2015-06-29T12:04:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=4162"},"modified":"2015-06-29T11:53:07","modified_gmt":"2015-06-29T15:53:07","slug":"org-babel-examples","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=4162","title":{"rendered":"Org-Babel Examples"},"content":{"rendered":"<p> I haven&#8217;t written about using Babel with Org mode for a long time but it&#8217;s something I use everyday. Most of those uses are trivial but the full power is there when I need it. I can produce summary data and graph that summary almost effortlessly. <\/p>\n<p> If you&#8217;re looking for some examples of what you can do with Org and Babel, Derek Feichtinger has a Github repository with <a href=\"https:\/\/github.com\/dfeich\/org-babel-examples\">examples using several languages<\/a>. It&#8217;s well worth looking at because Org with Babel is the key to writing your documents in a reproducible research way. <\/p>\n<p> You may not be writing journal articles that other researchers will want to check but even if you&#8217;re just documenting some aspect of your own work, having a document with all the code embedded in it is tremendously powerful. Right now, I have legacy documents where the code that process their data are separate applications. I also have Org mode documents where the code to process the data is embedded in the document and I can update the results simply by typing\u3010<kbd>Ctrl<\/kbd>+<kbd>c<\/kbd> <kbd>Ctrl<\/kbd>+<kbd>c<\/kbd>\u3011on the code block. I can tell you that the latter documents are far easier to deal with. <\/p>\n<p> Check out Feichtinger&#8217;s collection of examples to see if some of them won&#8217;t be useful to you. <\/p>\n<p> <b>UPDATE<\/b>: Added link to Feichtinger&#8217;s Github repository. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I haven&#8217;t written about using Babel with Org mode for a long time but it&#8217;s something I use everyday. Most of those uses are trivial but the full power is there when I need it. I can produce summary data &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=4162\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[34,18,4],"class_list":["post-4162","post","type-post","status-publish","format-standard","hentry","category-general","tag-babel","tag-emacs","tag-org-mode"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4162"}],"version-history":[{"count":2,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4162\/revisions"}],"predecessor-version":[{"id":4164,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4162\/revisions\/4164"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}