Articles by English Blog on Yihui Xie | 谢益辉

Rediscovering Rd2roxygen

June 5, 2017 | English Blog on Yihui Xie | 谢益辉

During a lunch with Rob Hyndman and Earo Wang last week in Melbourne, I was surprised to know that there still existed packages that did not use roxygen to write the R documentation (my greatest sympathy to those poor authors), and I was also pleasantly surprised that Rob knew and ... [Read more...]

A Note on missing()

May 15, 2017 | English Blog on Yihui Xie | 谢益辉

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 ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)