Recently, John Kitchin tweeted a pointer to the draft of a paper by
Timonthy Johnson that makes the case for Emacs as the tool for scientists to organize and report their research. The paper, Emacs as a Tool for Modern Science, contrasts the “normal” way or organizing and conducting research to using Emacs for the same job.
Whereas the normal procedure involves the use of multiple pieces of software, the Emacs method uses only a single program: Emacs. It’s easy to take the attitude of ‘Meh, so what?’ but with Emacs, there is only one set of keystrokes to learn and there are no context switches as you move between different phases of a research project.
Johnson also stresses the importance of persistence. When you use proprietary software, you are at the mercy of the vendor. They may go out of business, discontinue the product, or make non-backward compatible changes. With open source software, the user can always recover—although perhaps not easily—because the source is available. More importantly, with Emacs, everything is in plain text and readable with any editor.
Finally, there is Org-mode. With Org, data and the calculations upon it can be embedded in the manuscript. That’s a huge win for reproducible research and ensures that the results in the paper also reflect the latest version of the data and the calculations on it. It’s also an easy way of generating LaTeX for submission to journals.
All of these benefits are well-known to developers who use Emacs but many scientists are focused on their field of research and don’t consider their tools. Mostly they use whatever tools they learned in grad school regardless of the tools’ shortcomings. If you follow Emacs, you know there are exceptions like Kitchin and Eric Fraga—to name the first two to come to mind—who have embraced the Emacs way in their research. Indeed, Kitchin has a similar paper in ACS Catalysis that makes analogous points.
I’ve written before about the use of Emacs in the humanities. Most of the same points apply. Really, if you’re wrangling text or doing research, you should consider Emacs.