Publications by Yihui Xie

Travis CI for R! (not yet)

12.04.2013

A few days ago I wrote about Travis CI, and was wondering if we could integrate the testing of R packages into this wonderful platform. A reader (Vincent Arel-Bundock) pointed out in the comments that Travis was running Ubuntu that allows you to install software packages at your will. I took a look at the documentation, and realized they were bui...

3553 sym 2 img

A Few Tips for Writing an R Book

03.06.2013

I just finished fixing (hopefully all) the problems in the knitr book returned from the copy editor. David Smith has kindly announced this book before I do. I do not have much to say about this book: almost everything in the book can be found in the online documentation, questions & answers and the source code. The point of buying this book is pe...

4857 sym R (152 sym/1 pcs) 2 img

You Do Not Need to Tell Me I Have A Typo in My Documentation

10.06.2013

So I just got yet yet another comment saying “you have a typo in your documentation”. While I do appreciate these kind reminders, I think it might be a good exercise for those who want to try GIT and Github pull requests, which make it possible for you to contribute to open source and fix obvious problems with no questions being asked — jus...

2485 sym R (22 sym/1 pcs) 2 img

R Package Versioning

27.06.2013

This should be what it feels like to bump the major version of your software: For me, the main reason for package versioning is to indicate the (slight or significant) differences among different versions of the same package, otherwise we can keep on releasing the version 1.0. That seems to be a very obvious fact, so here are my own versioning r...

2199 sym 2 img

My first Bioconductor conference (2013)

21.07.2013

The BioC 2013 conference was held from July 17 to 19. I attended this conference for my first time, mainly because I’m working at the Fred Hutchinson Cancer Research Center this summer, and the conference venue was just downstairs! No flights, no hotels, no transportation, yeah. Last time I wrote about my first ENAR experience, and let me tell ...

4709 sym 2 img

After Three Months I Cannot Reproduce My Own Book

05.09.2013

I thought I could easily jump to a high standard (reproducibility), but I failed. Some of you may have noticed that the knitr book is finally out. Amazon is offering a good price at the moment, so if you are interested, you’d better hurry up. I avoided the phrase “Reproducible Research” in the book title, because I did not want to take t...

3171 sym 2 img

Testing R Packages

29.09.2013

This guy th3james claimed Testing Code Is Simple, and I agree. In the R world, this is not anything new. As far as I can see, there are three schools of R users with different testing techniques: tests are put under package/tests/, and a foo-test.Rout.save from R CMD BATCH foo-test.R; testing is done by comparing foo-test.Rout from R CMD check w...

4060 sym R (343 sym/3 pcs)

Markdown or LaTeX?

19.10.2013

What happens if you ask for too much power from Markdown? R Markdown is one of the document formats that knitr supports, and it is probably the most popular one. I have been asked many times about the choice between Markdown and LaTeX, so I think I’d better wrap up my opinions in a blog post. These two languages (do you really call Markdown a ...

4914 sym 2 img

A Few Notes on UseR! 2014

25.07.2014

It has been a month since the UseR! 2014 conference, and I’m probably the last one who writes about it. UseR! is my favorite conference because it is technical and not too big. I have completely lost interest in big and broad conferences like JSM (to me, it has become Joint Sightseeing Meetings). Karl has written two blog posts about UseR! (1-2...

8027 sym 2 img

library() vs require() in R

25.07.2014

While I was sitting in a conference room at UseR! 2014, I started counting the number of times that require() was used in the presentations, and would rant about it after I counted to ten. With drums rolling, David won this little award (sorry, I did not really mean this to you). Ladies and gentlemen, I've said this before: require() is the wrong...

4878 sym R (1026 sym/4 pcs) 2 img