Blog Archives

Finally, Four Backticks on Github

Finally, Four Backticks on Github

It is always the little things… Over the years, I have been totally happy with almost everything about Github, but I have also been waiting for one little thing: I wish we could enclose text that contains N backticks with a pair of N + 1 backticks in Github issues/comments, i.e., ```` ```{r, echo=TRUE} 1 + 1 ``` ```` so that we could show a literal R code chunk like…

Read more »

A Note on on.exit()

I have used on.exit() for several years, but it was not until the other day that I realized a very weird thing about it: you’d better follow the default positions of its arguments expr and add, i.e., the first argument has to be expr and the second has to be add. on.exit(expr = NULL, add = FALSE) If you do on.exit(add = TRUE, {...}), weird things can happen. I discovered…

Read more »

How I Find, Manage, and Use GIFs

How I Find, Manage, and Use GIFs

A few months ago Jenny wanted me (and Karthik, if I remember correctly) to share some experience with GIFs. I have been busy with writing the blogdown book recently and don’t really have much time, so I’m going to write a quick post just to take a short break. I may expand this post in the future. First thing first. I tend to pronounce “GIF” with the soft G, but…

Read more »

When in Doubt, Upgrade

When in Doubt, Upgrade

I have said this many times in several Github issues and it is also the very first FAQ of knitr. It is a little exaggerative and certainly not a universal rule, but it helps a lot if you could try to upgrade everything before you report a software issue. It is even more helpful if you could also install the development version of the software and see if the problem…

Read more »

A Note on missing()

I had misunderstood the function missing() for several years. Originally I thought it only applies to an argument that does not have a default or user-specified value. For example, this is fairly easy to understand: f = function(x) { missing(x) } f() # should be TRUE One day I was surprised to find that this also returned TRUE: f = function(x = 1) { missing(x) } f() What?! x does…

Read more »

Some Facts about Jeff Leek

Some Facts about Jeff Leek

Note: What other facts about Jeff Leek do you “know”? Please feel free to click the edit button above and submit a pull request on Github. I have not written blog posts for quite a while. It is not because I don’t have anything to...

Read more »

Some Facts about Jeff Leek

Some Facts about Jeff Leek

Note: What other facts about Jeff Leek do you “know”? Please feel free to click the edit button above and submit a pull request on Github, or tweet with the hashtag #jeffleekfacts. I have not written blog posts for quite a while. It is not because I don’t have anything to write. On the contrary, I have a huge amount of things that I could have written about, e.g., how…

Read more »

A Letter of Recommendation for Nan Xiao

A Letter of Recommendation for Nan Xiao

I hope my letter could boost this guy up like: I’m not sure if I’m a good observer, but time and time again I feel some people are undervalued, or they were not given better opportunities to show their value. Not surprisingly, I know q...

Read more »

A Letter of Recommendation for Nan Xiao

A Letter of Recommendation for Nan Xiao

I hope my letter could boost this guy up like: I’m not sure if I’m a good observer, but time and time again I feel some people are undervalued, or they were not given better opportunities to show their value. Not surprisingly, I know quite a few such people in the Chinese R/stats community, mainly because of the website Capital of Statistics (COS) that I founded a number of years…

Read more »

A Few Notes on UseR! 2014

A Few Notes on UseR! 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, 3-4), and I’m going to add a few…

Read more »


Subscribe

Email:

  Subscribe