R Markdown

R Markdown: The Definitive Guide

by Yihui Xie, J. J. Allaire, Garrett Grolemund

R Markdown: The Definitive Guide

The first official book authored by the core R Markdown developers that provides a comprehensive and accurate reference to the R Markdown ecosystem. With R Markdown, you can easily create reproducible data analysis reports, presentations, dashboards, interactive applications, books, dissertations, websites, and journal articles, while enjoying the simplicity of Markdown and the great power of R and other languages. Read more →


blogdown: Creating Websites with R Markdown

by Yihui Xie, Amber Thomas, Alison Presmanes Hill

blogdown: Creating Websites with R Markdown

A guide to creating websites with R Markdown and the R package blogdown. […] In the summer of 2012, I did my internship at AT&T Labs Research,1 where I attended a talk given by Carlos Scheidegger (https://cscheid.net), and Carlos said something along the lines of “if you don’t have a website nowadays, you don’t exist.” Later I paraphrased it as: “I web, therefore I am a spiderman.” Carlos’s words resonated very well with me, although they were a little exaggerated. A well-designed and maintained website can be extremely helpful for other people to know you, and you do not need to wait for … Read more →


bookdown: Authoring Books and Technical Documents with R Markdown

by Yihui Xie

bookdown: Authoring Books and Technical Documents with R Markdown

A guide to authoring books with R Markdown, including how to generate figures and tables, and insert cross-references, citations, HTML widgets, and Shiny apps in R Markdown. The book can be exported to HTML, PDF, and e-books (e.g. EPUB). The book style is customizable. You can easily write and preview the book in RStudio IDE or other editors, and host the book wherever you want (e.g. bookdown.org). Read more →


Introduction to Data Science

by Rafael A. Irizarry


This book introduces concepts and skills that can help you tackle real-world data analysis challenges. It covers concepts from probability, statistical inference, linear regression and machine learning and helps you develop skills such as R programming, data wrangling with dplyr, data visualization with ggplot2, file organization with UNIX/Linux shell, version control with GitHub, and reproducible document preparation with R markdown. Read more →


Introduction to R Markdown

by Michael Clark

Introduction to R Markdown

This document will introduce participants to the basics of R Markdown. After an introduction to concepts related to reproducible programming and research, demonstrations of standard markdown, as well as overviews of different formats, will be provided, including exercises. […] … Read more →


Field Epidemiology with R

by Tomás J. Aragón


A book example for a Chapman & Hall book. […] The document format “R Markdown” was first introduced in the knitr package (Xie, 2015, 2018) in early 2012. The idea was to embed code chunks (of R or other languages) in Markdown documents. In fact, knitr supported several authoring languages from the beginning in addition to Markdown, including LaTeX, HTML, AsciiDoc, reStructuredText, and Textile. Looking back over the five years, it seems to be fair to say that Markdown has become the most popular document format, which is what we expected. The simplicity of Markdown clearly stands out among … Read more →


An R Platform for Social Scientists

by Burak AYDIN, James ALGINA, Walter LEITE, Hakan ATILGAN

An R Platform for Social Scientists

R book for social scientists […] The online version of this platform is licensed under the CC0 by Burak AYDIN. We aim to create a platform for the applied social scientists in which we can demonstrate basic statistical procedures using R (R Core Team 2016b) and real data. We prefer to name this material as a platform given that (a) it is open for contribution, (b) it will have dynamic content and © it can serve as a mainboard for Plug-ins and Add-ons . This R material is created with Bookdown (Xie 2016), an advanced system constructed on R Markdown (Allaire et al. 2016) and the R … Read more →


Math 390.4: Data Science with R

by The Queens College Collective Consciousness


This is a minimal example of using the bookdown package to write a book. The output format for this example is bookdown::gitbook. […] This is a book published using the R Markdown language. R Markdown supports Latex, so you can make pretty equations like Professor Kapelner likes: (a^2 + b^2 = c^2). To type inline latex, just surround your code with dollar signs. That was published like this: $a^2 + b^2 = c^2$ You can edit the markdown for this book from RStudio just like you would edit a regular R Markdown (.Rmd) file. Here’s a picture of what it looks like as I edit this book and the R … Read more →


R Markdown 介紹

by 林茂廷老師


dplyr 介紹 […] 一個標準化的純文字語法(syntax),用來表達豐富的排版意境。 Wiki範例 本身不會產生word, html或pdf檔,而是透過其他應用程式,如pandoc,來進一步生成相關文件格式。 … Read more →


Notes on R for AML100

by Jordan T. Bates


Notes on R for the course AML100 at Arizona State University. […] These notes introduce the basics of the programming language R as needed for the course AML100. Notes on RStudio and R Markdown are included in … Read more →


Föll í R - Dæmi

by Eyþór Björnsson


Föll í R - Dæmi […] Hér eru dæmi um notkun á föllum sem ég hef skrifað og má finna á GitHub. Þetta eru aðallega föll sem spara mikinn tíma við uppsetningu á algengum töflum fyrir vísindagreinar (á sviði læknavísinda) en eru líka hjálpleg til þess að átta sig á fylgni milli mismunandi breyta í gagnasafninu. Þessi síða er búin til með bookdown. Það er frábær pakki sem tvinnar saman R markdown skrár og setur saman í aðgengilegt html-bókarsnið. Í öllum dæmunum er notast við ‘diabetes’ gagnasettið sem er aðgengilegt frá http://biostat.mc.vanderbilt.edu/wiki/Main/DataSets. The data consist of 19 … Read more →


Egils saga Skalla-Grímssonar

by eythorbj


Egils saga Skalla-Grímssonar […] Texti Egils sögu var afritaður af vefsíðu The Icelandic Saga Database (sótt 15. maí 2017) og útbúinn fyrir birtingu hér með R markdown og bookdown pakkanum í R. Eyþór Björnsson, 15. maí … Read more →


Getting used to R, RStudio, and R Markdown

by Chester Ismay


An introduction into using R, RStudio, and R Markdown for new users […] In the HTML version of this book, you can also download the PDF version of the book by clicking on PDF button in the top toolbar of the page. HTML is the preferred format but the PDF format may be preferred for some readers. Links to the different GIFs directly found in the HTML version are provided in the PDF version. This resource is designed to provide new users to R, RStudio, and R Markdown with the introductory steps needed to begin their own reproducible research. A review of many of the common R errors … Read more →



by 黄湘云


An Introduction to Statistical Computing and Graphics with R. 统计计算和统计绘图入门 […] R 软件主要用于统计计算和统计绘图, 因其提供了完整的绘图系统, 实现了大量的统计方法, 而且相比于其他统计软件,具有免费和更新快的特点,在当今数据时代浪潮下,占有一席之地。 Markdown 是一个文本标记语言。 欢迎来到 R 语言的世界, 写点关于发展历史等容易吸引人的东西, 让读者有继续看下去的欲望。 介绍书籍写作工具,写作风格设定,结构说明,R语言介绍1 历史数据分析 R语言进入到各方各面 如何重复本书,写作工具,如何提交 PR,参与写作 益辉维护的 R Markdown 生态及其它 R 包,如图 1.4 这本书是在 RStudio 内用 R Markdown (Xie, Allaire, and Grolemund 2018) 写的, Git 控制版本, bookdown (Xie 2016) … Read more →