Blog Archives

R Package Versioning

June 27, 2013
By
R Package Versioning

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 o...

Read more »

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

June 10, 2013
By
You Do Not Need to Tell Me I Have A Typo in My Documentation

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 y...

Read more »

A Few Tips for Writing an R Book

June 3, 2013
By
A Few Tips for Writing an R Book

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 on...

Read more »

Travis CI for R! (not yet)

April 12, 2013
By
Travis CI for R! (not yet)

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...

Read more »

Travis CI for R?

April 7, 2013
By
Travis CI for R?

I'm always worried about CRAN: a system maintained by FTP and emails from real humans (basically one of Uwe, Kurt or Prof Ripley). I'm worried for two reasons: the number of R packages is growing exponentially; time and time again I see frustrations ...

Read more »

On ENAR, or Statistical Meetings in General

March 14, 2013
By

Last year I accepted an invitation from Ben to go to ENAR 2013 -- my first ENAR. I used to go to JSM and useR!, and apparently I enjoy useR! most. The reason is not, or not only, because I'm more of a technical person. It is just hard to concentrate at large statistical conferences. I want...

Read more »

Contribute to The R Journal with LyX/knitr

February 17, 2013
By
Contribute to The R Journal with LyX/knitr

(This paragraph is pure rant; feel free to skip it) I have been looking forward to the one-column LaTeX style of The R Journal, and it has arrived eventually. Last time I mentioned "it does not make sense to sell the cooked shrimps"; actually there is ...

Read more »

Publishing from R+knitr to WordPress

February 10, 2013
By
Publishing from R+knitr to WordPress

Tal Galili asked a question on StackOverflow on publishing blog posts to WordPress from R + knitr. William K. Morris has written a solution long time ago, and I tweaked it a little bit and created a function knit2wp() in the development version of knit...

Read more »

Code Pollution With Command Prompts

January 26, 2013
By

This is not the first time I have ranted about command prompts, but I cannot help ranting about them whenever I saw them in source code. In short, a piece of source code with command prompts is like a bag of cooked shrimps in the market -- it does not make sense, and an otherwise good thing is...

Read more »

Find Out Available Usernames with R

January 5, 2013
By

Update on 2013/01/05: Xiao Nan in the comments pointed out that apply(combn(letters, 2), 2, paste0, collapse = '') was wrong for all two-letter usernames, and indeed it was. It is not a combination problem. Now I use his elegant outer() solution. One can also use expand.grid(letters, letters). Github decided to take off their downloads service, and I was very...

Read more »