It's been a while since my first on this topic. Nevertheless, it remains an important issue as (in my humble view) there is still too much code appearing in R packages that lacks good readability. So I hope this post helps to promote the beauty of readable code.
The update contains some breaking changes and brings a lot of new features and operators, which markedly improves using containers in both interactive R sessions and code development. Also there is a new class dict.table to support the data.table package.
R Markdown provides the chunk option `ref.label` to reuse chunks. In this post, I'll show potential problems with this approach and present an easy and safe alternative.
In this post a simple RStudio hack is presented on how to display tables produced via knitr kable efficiently in the RStudio session.
This is my take on an R style guide. As such, this is going to be a longer post in the hope that is useful to some people out there.
Producing readable R code is of great importance, especially if there is a chance that you will share your code with people other than your future self. In this series of blog posts, I will present some (often underused) base R functions for this purpose.
Some hopefully useful (or even awesome) stuff related to R programming.