Yihui Xie, the useR! 2014 Interview

In science consensus is irrelevant. What is relevant is reproducible results. The greatest scientists in history are great precisely because they broke with the consensus.

— Michael Crichton

Yihui Xie intended to make it easier to do his homework, but instead found himself tackling one of the greatest problems in modern science: the reproducibility of results.

What is Reproducibility?

Reproducibility is one of the main principles of the scientific method, and refers to the ability of a test or experiment to be accurately reproduced, or replicated, by someone else working independently.

Through his work on the knitR package, he has assembled a toolchain which allows the user to produce beautiful, ready-to-distribute documents containing a whole, self-supporting, and reproducible analysis. By leveraging powerful constructs such as adaptive, nearly transparent caching, Yihui has removed the barriers which have prevented many practitioners from fully addressing reproducibility in their work. Reproducible documents are now flexible, powerful, and fast. No single R package has impacted my personal workflow in the past decade as deeply as knitR has, moving the task of updating analyses with more current data from a chore to a pleasure.

Previously, presenting a data story in a flowing document required completing an array of invisible processes plus the usual copy/paste engineering in order to create an incomplete picture of the analysis and code used to produce it. Now, a single living knitR project can now be created in-line and shared in its entirety, as either a PDF, a git repository, or even a living Shiny document, giving my audience a nearly total understanding of the process by which I arrived at my solution.

In this interview, Yihui discusses how he came to the R programming language and how he set about building knitR. He also mentions the great momentum and energy of the R community in China, and what he’s currently focused on at RStudio.

Video Breakdown

Please click here to see the video directly on youtube. Or if you prefer, subscribe to our podcast to get the audio!

Inspiration for Building knitR

We began this conversation by asking about the knitR package and it’s origins. How does one wake up and decide to build the single best implementation of Knuth’s literate programming? The same way you eat an elephant, one bite at a time.

R Community in China

Yihui isn’t only a world class software developer and visionary, he’s also helped organize the R community in China since 2006. The Chinese R conference, started in 2008, has also grown in stature and attendance as the community has grown. The 7th R China conference, held on May 24th and 25th, 2014 and hosted at Yihui’s alma mater, Renmin University in Beijing, had over twice as many attendees as the global useR! 2014 conference in Los Angeles, for example.

Advice to new programmers

Yihui provides some fantastic advice for new programmers on how to get involved in R. His advice transcends just R development however, and should be seen as great advice for anyone wanting to get involved in programming and technology. He advises a non-traditional path to mastery, focusing on the tools and techniques that make R visually and experientially appealing.

Share This Post


  1. Yihui Xie - September 1, 2014

    Big thanks to the DataScienceLA team for the hard work! It was my great honor to be interviewed at useR! 2014. This blog post has accurately summarized what I was thinking about. Nice job!

    This was my first ever video interview. As a shy person, fortunately I did not blush or tremble, but I’m a little bit annoyed by my endless mmhmm’s during the conversation 🙂 Next time I will try to stay quiet while the other person is talking.

    • Laurent - September 1, 2014

      Great interview, Yihui, thanks! And don’t worry about mmhmm’ing; people appreciate honesty, dedication and honesty, that’s what makes a difference.

    • Eduardo Ariño de la Rubia - September 2, 2014

      You know, I feel bad that I interrupted you when we were talking about the animate package! I just got so excited 🙂 I wish I would have let you keep answering!

Leave a reply