You may have seen the memes going around about fun ways to program the
straightforward function isEven()
which returns TRUE
if the input is even,
and FALSE
otherwise. I had a play with this and it turned into enough for a
blog post, and a nice walk through some features of R.
r-bugs :: object_size
As soon as the R-Foundation posted that they’re inviting cleanup of old bugs, I knew it would be an opportunity to learn more about the way R works on the inside.
[Read More]{ggtext} for images as x-axis labels
I’ve written a few times about using an image as an x-axis label, and the solutions have been slowly improving. This one blows all of them out of the water.
[Read More]forcats::fct_match
A small tidyverse contribution
This journey started almost exactly a year ago, but it’s finally been sufficiently worked through and merged! Yay, I’ve officially contributed to the tidyverse (minor as it may be).

I’m at least as useful as Zoidberg
Even more images as x-axis labels
This is the last update to this strange saga… I hope.
Adding strings in R
This started out as a “hey, I wonder…” sort of thing, but as usual, they tend to end up as interesting voyages into the deepest depths of code, so I thought I’d write it up and share. Shoutout to [@coolbutuseless](https://twitter.com/coolbutuseless) for proving that a little curiosity can go a long way and inspiring me to keep digging into interesting topics.

This is what you get if you “glue” “strings”. Photo: https://craftwhack.com/cool-craft-string-easter-eggs/
Constricted development with reticulate
I’ve been using the reticulate package occasionally for a while now, so I was surprised to see that it had only just been officially released.
[Read More]reticulate: R interface to Python https://t.co/qVWmwoMQAP. Comprehensive set of interoperability tools including R Markdown Python engine #rstats #pydata pic.twitter.com/SuWM6Y3Pk0
— RStudio (@rstudio) March 26, 2018
JC and the Vignettes
If that’s not a great 1960’s band name then I don’t know what is (hint: I don’t know what is).
[Read More]Thou shalt not compare numeric values (except when it works)
This was just going to be a few Tweets but it ended up being a bit of a rollercoaster of learning for me, and I haven’t blogged in far too long, so I’m writing it up quickly as a ‘hey look at that’ example for newcomers.
[Read More]Data Munging With R Preview - Storing Values (Assigning)
Since about October last year, I’ve been writing an introduction to R book. It’s been quite the experience. I’ve finally started making time to document some of the interesting things I’ve learned (about R, about writing, about how to bring those two together) along the way.
[Read More]