The increasing importance of empirical analysis in economics highlights the need for efficient ways to bring these skills to the classroom. R Markdown is a new technology that provides a solution by integrating writing, statistical work and computation into a single document. R Markdown benefits students and instructors by streamlining teaching, research, and collaboration. The authors report on their use of R Markdown in undergraduate teaching, including core courses, electives, and senior theses. They discuss the costs and benefits of adoption, and explain the advantages of R Markdown in teaching reproducibility of empirical work, avoiding time-consuming and error-prone "cut and paste," and facilitating a one-stop solution for importing, cleaning, manipulating, visualizing, and communicating with data.