2021-05-04 16:07:40 +00:00
:PROPERTIES:
:ID: 5569a49f-c387-4da2-8f68-d8452e35ee5b
:END:
2021-04-21 11:38:28 +00:00
#+title : Org mode: Babel
2021-04-01 16:08:15 +00:00
#+date : "2020-04-17 21:41:30 +08:00"
2021-07-20 11:52:43 +00:00
#+date_modified : "2021-07-17 19:03:50 +08:00"
2021-04-01 16:08:15 +00:00
#+language : en
2021-04-05 12:03:26 +00:00
#+tags : research.reproducibility
2020-06-23 18:29:05 +00:00
2021-05-04 16:07:40 +00:00
Babel is the framework that enables [[id:c422175a-5b65-4311-8cc6-11efd55364e8 ][Org mode ]] to be a [[id:6eeb7a24-b662-46d6-9ece-00a5028ff4d8 ][Reproducible research ]] tool.
2021-05-19 16:13:41 +00:00
It is comparable to Jupyter and R Markdown that other computational scientists use it.
2020-06-23 18:29:05 +00:00
2021-05-19 16:13:41 +00:00
Among other features, it can do the following.
2020-06-23 18:29:05 +00:00
2021-05-19 16:13:41 +00:00
- Prints the results from code blocks.
- Create files from a single document, making it possible to create entire computational reports.
- Pass values from one code block to another, even with different programming languages.
- Create graphics similarly to Jupyter and R Markdown notebooks.
- Call code blocks either inline, as a block, or inside of another code block, thereby enabling metaprogramming and dynamic contents.
2020-06-23 18:29:05 +00:00
2021-07-20 11:52:43 +00:00
The unfortunate thing is most of these features are only available when using with [[id:ce6ab58e-b295-4fdb-8af7-fc89c63ec208 ][GNU Emacs ]].
2020-06-23 18:29:05 +00:00
2021-05-19 16:13:41 +00:00
For more details, you can see [[id:4abb9be8-4414-4045-8827-5a68632fd2a4 ][The basics of org-babel ]].