2017

I don’t want your monolithic ggplot function 2017/11/05

With the popularity and power of ggplot2, some R package authors are changing their plotting functions to output ggplot objects instead of base R plots. This is a great idea for existing package maintainers that simply want to update their output to a modern, flexible and themeable plotting library. However, I have also encountered a handful of packages that fall into the trap of creating new monolithic ggplot functions: heavyweight, base-R-like functions with lots of parameters that output custom ggplot objects. Read more…