Articles by Jonathan Carroll

isEven without modulo

March 8, 2020 | Jonathan Carroll

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

{ggtext} for images as x-axis labels

August 12, 2019 | Jonathan Carroll

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. Claus Wilke (@ClausWilke) now has a {ggtext} package which can very neatly add images as x-axis labels! This makes ...
[Read more...]

forcats::fct_match

February 22, 2019 | Jonathan Carroll

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 It began with a tweet, recalling a surprise I encountered that ...
[Read more...]

forcats::fct_match

February 22, 2019 | Jonathan Carroll

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). It began with a tweet, recalling a surprise I encountered that...Continue Reading →
[Read more...]

Even more images as x-axis labels

October 16, 2018 | Jonathan Carroll

This is the last update to this strange saga… I hope. Image labels… Photo: http://www.premierpaper.com/shop/custom-labels/ Easily two of the most popular posts on my blog are this one and this one describing a couple of ways in which I managed to hack together using an ...
[Read more...]

Adding strings in R

October 5, 2018 | Jonathan Carroll

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

Adding strings in R

October 5, 2018 | Jonathan Carroll

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

Constricted development with reticulate

April 4, 2018 | Jonathan Carroll

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. reticulate: R interface to Python https://t.co/qVWmwoMQAP. Comprehensive set of interoperability tools including R Markdown Python engine #rstats #pydata pic.twitter.com/... [Read more...]

Constricted development with reticulate

April 4, 2018 | Jonathan Carroll

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. reticulate: R interface to Python https://t.co/qVWmwoMQAP. Comprehensive set of interoperability tools including R Markdown Python...Continue Reading → [Read more...]

JC and the Vignettes

March 6, 2018 | Jonathan Carroll

If that’s not a great 1960’s band name then I don’t know what is (hint: I don’t know what is). At the start of the year I set out my ‘goals for 2018’ just like many of us do; an overly ambitious list of things we’d like ...
[Read more...]

JC and the Vignettes

March 5, 2018 | Jonathan Carroll

If that’s not a great 1960’s band name then I don’t know what is (hint: I don’t know what is). At the start of the year I set out my ‘goals for 2018’ just like many of us do; an...Continue Reading →
[Read more...]

Images as x-axis labels (updated)

June 2, 2016 | Jonathan Carroll

They say "if you want to find an answer on the internet, just present a wrong one as fact. Then wait." It didn't take long, actually. Despite my searches while trying to get images into x-axis labels it seems I...Continue Reading →
[Read more...]

Images as x-axis labels (updated)

June 2, 2016 | Jonathan Carroll

They say “if you want to find an answer on the internet, just present a wrong one as fact. Then wait.“ It didn’t take long, actually. Despite my searches while trying to get images into x-axis labels it seems I...Continue Reading →
[Read more...]

Images as x-axis labels

June 2, 2016 | Jonathan Carroll

Open-source software is awesome. If I found that a piece of closed-source software was missing a feature that I wanted, well, bad luck. I probably couldn’t even tell if was actually missing or if I just didn’t know about it....Continue Reading → [Read more...]
1 2

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)