ABSTRACT

Researchers start thinking about making their work reproducible near the end of the research process when they write up their results or maybe even later when a journal requires their data and code be made available for publication. Text files are very easy to search and manipulate with a wide range of programs –such as R and RStudio–that can find and replace text characters as well as merge and separate files. Computer code is a way of communicating with the computer. It is ‘machine readable’ in that the computer is able to use it to understand what a person wants to do. In natural language writing a person does not necessarily have to follow a style guide. For particularly important pieces of research code it may be useful to not only comment on the source file, but also display code in presentation text.