Articles by Jonathan Carroll

Adventures in x86 ASM with rx86

December 22, 2021 | Jonathan Carroll

I just finished ‘Code: The Hidden Language of Computer Hardware and Software’ by Charles Petzold which was a really well-written (in my opinion) guided journey from flashing a light in morse code through to building a whole computer, and everything needed along the way. The section on encoding instructions for ...
[Read more...]

Improving a Visualization

July 1, 2021 | Jonathan Carroll

I saw this post on Reddit’s r/dataisbeautiful showing this plot of streaming services market share, comparing 2020 to 2021 US Streaming Services Market Share, 2020 vs 2021 and thought it looked like a good candidate for trying out some plot improvem...
[Read more...]

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...]
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)