Join Stack Overflow to learn, share knowledge, and build your career. Connect and share knowledge within a single location that is structured and easy to search. I am using RStudio for writing markdown documents and want to add Table of Contents TOC at top of the documents so that the user could click the relevant section for reading. There were some relevant examples on rpubs but now I can't seem to find them.
Writing your thesis with bookdown
A R Markdown thesis template for Drexel University • dragondown
Writing an article in LaTeX produces crisp, quality documents and beautiful equations. So how about writing an entire PhD thesis in Markdown? This post shows you how. Sometimes a whole file freezes or gets corrupted. Because of this, a lot of scientists use LaTeX. It uses plain-text files with little overhead and allows version control backup with Git. It also supports writing complex equations, cross-referencing and bibliographies.
Writing your thesis with R Markdown (1) - Getting started
Looking to use R Markdown to create your thesis? You have come to the right place. R Markdown is a great tool for integrating data analysis and report writing, but it can be a bit daunting to get started. I wrote my thesis with R Markdown last year, and sure spent quite some time browsing the internet figuring out how to get my text, code, and figures to work together and turn into a coherent thesis.
At the same time, composition and formatting can be done using lightweight markdown syntax, and R code and its output can be seamlessly included using rmarkdown. Currently, the PDF version has full feature and formatting support. All other document formats are experimental and are not guaranteed to format properly, but may be suitable for intermediate tasks, such as getting committee feedback.