Yihui Xie

Curriculum Vitae

Yihui Xie

Contact Information

Email: xie@yihui.name; Homepage: http://yihui.name; Twitter @xieyihui

Research Interests

Reproducible research; statistical computing; statistical graphics; data visualization.

Education Background

Honors & Awards


In Chinese

Books under development:

  1. R Ninja
  2. Modern Statistical Graphics


  1. Yanyun Zhao, Nailin Feng, Yuncheng Zhao, Yihui Xie, Ning Xiao, 2008, Research on the National Quality Competitiveness of China, Statistical Research, 25(3), 12-19
  2. Yihui Xie, 2008. On the Applications of Statistical Graphics in Data Analysis, Statistics Review, Bo Zhang (ed), China Financial and Economic Publishing House.
  3. Yihui Xie, 2008. Bootstrap Methods: Developments and Frontiers, Statistics & Information Forum, 89, 90-96.
  4. Yihui Xie, 2007. The Application of the Classification and Regression Tree Based on the Package rpart in R, Statistics & Information Forum, 86, 67-70.
  5. Yihui Xie, 2007. Series in International Competitiveness: How Weak is the Financial System of China?, China Statistics, 7, 35.
  6. Yanyun Zhao, Yihui Xie, 2006. Unbalanced growth in top 100 industrial enterprises in China: market expanding outgoes business managing, Talents, 9, 84.
  7. Yanyun Zhao, Yihui Xie, 2005. Who is the champion of growth among top 1000 industrial enterprises in China: analysis on the capability of market expanding and aggregate efficiency, Talents, 9, 72-73.

Besides, I published several articles in the Capital of Statistics in Chinese.

In English

Books and book chapters:

  1. Yihui Xie (2017). blogdown: Creating Websites with R Markdown. Under development.
  2. Yihui Xie (2016). bookdown: Authoring Books and Technical Documents with R Markdown. Chapman and Hall/CRC. ISBN 978-1138700109
  3. Yihui Xie (2015). Dynamic Documents with R and knitr. 2nd edition. Chapman and Hall/CRC. ISBN 978-1498716963
  4. Yihui Xie (2014). knitr: A Comprehensive Tool for Reproducible Research in R. In Victoria Stodden, Friedrich Leisch and Roger D. Peng, editors, Implementing Reproducible Computational Research. Chapman and Hall/CRC. ISBN 978-1466561595


  1. Yihui Xie, Heike Hofmann, and Xiaoyue Cheng (2014). Reactive Programming for Interactive Graphics. Statistical Science, 29(2), 201-213. (PDF)
  2. Yihui Xie (2013). animation: An R Package for Creating Animations and Demonstrating Statistical Methods. Journal of Statistical Software, 53(1), 1-27. URL http://www.jstatsoft.org/v53/i01/
  3. Yihui Xie and Xiaoyue Cheng, 2008. animation: A Package for Statistical Animations, R News, 8(2). URL: http://www.r-project.org/doc/Rnews/Rnews_2008-2.pdf
  4. Yihui Xie, 2007. Visualization of Data and Statistical Models Using R, Proceedings of the 3rd Conference on Australia-China Free Trade Agreement (ACFTA): Econometric Modeling and Policy in Trade, Investment and Economic Integration (paper)

Professional Experience

I joined RStudio as a software engineer in 2013, and have been writing software tools for data visualization, reproducible research, and automatic report/document generation.

I worked on Shiny from late 2013 to mid-2015. I added a few new features to Shiny, such as the support for JavaScript libraries DataTables and selectize.js, and solved the problem with Unicode characters in Shiny apps on Windows.

From late 2014, I started working on the DT package for displaying tables, and DT is an interface to the DataTables library in both Shiny apps and R Markdown documents. At about the same time, I worked extensively on the leaflet package for interactive maps, to bring it to the HTML widgets framework. My 2015 was primarily spent on these two packages.

In early 2016, I created a new package named tufte, to add the Tufte style to R Markdown documents and support both HTML and PDF output formats. I started the bookdown project in late 2015 to make it easier to write books and technical documents with R Markdown, and most of my time in 2016 was spent on this project. I also published a book for the bookdown package with Chapman & Hall/CRC.

Since late 2016, I started the blogdown project, to create websites based on R Markdown. I’m working on a book for this project at the moment.


  1. Summer 2012, AT&T Labs Research, Florham, NJ (mentor: Simon Urbanek)
  2. Summer 2013, Fred Hutchinson Cancer Research Center (mentor: Raphael Gottardo)

Website Management

Sept 2003 - Present

I created and maintained web pages for:

I founded and have been maintaining:

I worked in these web studios:

My personal projects:

Conference Organization

Feb 2005 - Present

I initiated the Chinese R conference in 2008, and organized

I helped organize these conferences:

Statistical Consulting

May 2005 - Present

I offer statistical consulting by email and I have been answering questions in the Capital of Statistics almost every day. I’m particularly interested in these topics:

Typically I ignore any questions on Structural Equation Modeling (SEM) or factor analysis, since I’m not convinced of their usefulness at all. I know little about time series and do not like econometrics. I have little interest in quantitative research in social sciences.

Other Work Experience

Sep 2004 - present

Duties in associations & centers:

Projects participated:

Presentations & Tutorials

Computer Skills

I like playing with computer tools for building web pages and statistical computation & graphics. I often try to improve the efficiency of my work by creating software tools (i.e. work hard to be lazy).

Listed above are what I’m familiar with, and the ones being crossed out are due to my brain stack overflow and I do garbage collection in my brain once in a while.

Software Packages

I support open source software, and below is a list of open source packages that I’m involved with.

R packages:

I’m the creator and main author of:

I have contributed to:

PHP applications: