Writing a Reproducible Paper in R Markdown

17 Pages Posted: 22 May 2018 Last revised: 15 Dec 2018

See all articles by Paul C. Bauer

Paul C. Bauer

Mannheim Centre for European Social Research (MZES)

Date Written: December 14, 2018

Abstract

The present paper provides a template for a reproducible scientific paper written in R Markdown. Below I outline some of the "tricks"/code (e.g., referencing tables, sections etc.) I had to figure out to produce this document. The underlying files which produce this document can be downloaded here (see paper). I think I got pretty far but there is always room for improvement and more automatization, in parallel to the incredible developments in R and Rstudio (bookdown etc.). I intend to update this file when I discover more convenient code.

Keywords: R, R Markdown, Reproducibility, Open Science

Suggested Citation

Bauer, Paul C., Writing a Reproducible Paper in R Markdown (December 14, 2018). Available at SSRN: https://ssrn.com/abstract=3175518 or http://dx.doi.org/10.2139/ssrn.3175518

Paul C. Bauer (Contact Author)

Mannheim Centre for European Social Research (MZES) ( email )

Germany

Register to save articles to
your library

Register

Paper statistics

Downloads
619
Abstract Views
1,911
rank
41,795
PlumX Metrics