Tue May 28, 2013
The Emacs Social Science Starter Kit is a drop-in collection of packages and settings for Emacs 24 aimed at people like me: that is, people doing social science data analysis and writing, using some combination of tools like R, git, LaTeX, Pandoc, perhaps some other programming languages (e.g., Python, or Perl), and plain-text formats like Markdown, and Org-Mode. More information on the kit is available here. Some of its highlights are listed here. It was originally written to accompany a more general article on Choosing Your Workflow Applications. The SSSK is available on github.
I’ve made some changes and additions to the kit recently, initially prompted by the release of Version 8 of Org-Mode. This was a major release that included a completely rewritten exporter. It is incompatible with the master branch of the Starter Kit. However, because Org-Mode 8 is not yet in the stable release of Emacs 24, I have left the SSSK’s
master branch as-is, and created a new
orgv8 branch. This is where new things are being added, and I am no longer adding features or making fixes to the master branch. When Org-Mode 8 gets into Emacs, the
orgv8 branch will become the
master branch. New things on the
orgv8 branch include:
Cleaned up LaTeX exporting from Org-Mode. It now uses XeLaTeX only, and is much simpler than before. As with the earlier setup, you will need my collection of LaTeX Templates and Styles for it to work properly.
Python support is better now.
Various clean-up and compatibility updates to accompany the new additions and updates, especially having to do with the many recent improvements to ESS. Autocomplete mode and ESS now work much better together.
Looking at plain text more generally, I’ve been trying to take advantage of Knitr as much as possible, as it seems to me to be the future of literate programming in R, particularly in conjunction with Markdown. Support for
.Rmd files in ESS is not quite there yet, but Polymode provides a workable solution right now. The main benefits of working with Knitr and
.Rmd is that it is very easy to get to both a good HTML file (i.e., a
.md file that is easily previewable in Marked) and a good PDF file (via LaTeX). Some inevitable limitations remain, e.g. with the lack of cross-reference and certain limits to citations. But being able to combine R and Markdown is a clear benefit, given the prevalence of the
.md format and the ease of export to other formats from there (via Pandoc). I should probably write a more thorough post about this at some point. In the meantime, enjoy the Kit.