David Hodge
@davidhodge931.bsky.social
120 followers 110 following 130 posts
#rstats #ggblanket https://github.com/davidhodge931/ggblanket
Posts Media Videos Starter Packs
Reposted by David Hodge
teunbrand.bsky.social
Take your plots from drab to fab! #ggplot2
thomasp85.com
🎨 Theming got a huge overhaul with the latest #ggplot2 release. In honour of that @teunbrand.bsky.social has written a comprehensive deep-dive into styling your plots, covering both old and new functionality. Grab a coffee and dive in!

#rstats
ggplot2 styling
This post discusses one function in ggplot2: `theme()`. Find out about the glamour of graphics in this deep-dive article.
www.tidyverse.org
Reposted by David Hodge
collinberke.bsky.social
I got introduced to @randyau.com's 'Data Cleaning IS Analysis, Not Grunt Work' post during the #dataBS Conf this week: www.counting-stuff.com/data-cleanin... . I just finished--it was a great read.

Here are some quotes and thoughts I'm walking away with 👇

1/9 #RStats
Data Cleaning IS Analysis, Not Grunt Work
Also, most data cleaning articles suck
www.counting-stuff.com
davidhodge931.bsky.social
Very strange flower. Nothing else like it in nz
davidhodge931.bsky.social
I never write informative git messages or chunk commits in a logical way. Git add . Git commit -m "Update" git push
davidhodge931.bsky.social
Enjoyed Hadley's keynote at Posit 2025. But disagreed with the statement that AI can't do maths. My understanding (& testing) of Claude.ai is that it can. If it identifies it's a maths question, it runs code in the background, and then provides the answer back in natural language #rstats #posit2025
Reposted by David Hodge
rmarkdown.bsky.social
Got a #Shiny app idea but don’t know where to start? 🤔Shiny Assistant can help you get unstuck and start building: shiny.posit.co/blog/posts/s... #RLang #ShinyApps #DataScience
Reposted by David Hodge
smachlis.bsky.social
Posit::conf(2026) will be in Houston, Sept. 14-16
- announced now at #Positconf2025

#Positconf2026 #Positconf #RStats
Reposted by David Hodge
thomasp85.com
I am beyond excited to announce that ggplot2 4.0.0 has just landed on CRAN.

It's not every day we have a new major #ggplot2 release but it is a fitting 18 year birthday present for the package.

Get an overview of the release in this blog post and be on the lookout for more in-depth posts #rstats
ggplot2 4.0.0
A new major version of ggplot2 has been released on CRAN. Find out what is new here.
www.tidyverse.org
davidhodge931.bsky.social
Yeah, will release something prob in the next month or so. The main idea was to create functions to annotate components of the theme, but I also expanded on that. Claude helped me a lot
davidhodge931.bsky.social
Playing around with some new annotate_* helper functions in development #rstats
davidhodge931.bsky.social
Really didn't like ~.x. I actually don't like all use of dot prefixes. i.e. .data, .col etc. It looks messy and inconsistent, and it's impossible to remember what is dot prefixed and what is not. I'm sure there are reasons for doing this. But I wonder if it is worth it
davidhodge931.bsky.social
|> looks a bit better. I find \(x) x much more elegant in that it connects nicely as shorthand for function(x) x
davidhodge931.bsky.social
Will be virtualing in from New Zealand. Timezone is difficult, so will only be online from the afternoon. Looking forward to it!
davidhodge931.bsky.social
Can {marquee} do this too?
davidhodge931.bsky.social
You can change an argument to make the gridlines "white", but seeing as it looks fairly good.. I could just make a grey2 theme and a beige2 theme, as it's nice to not even think about theme elements when you're not familar with them..
davidhodge931.bsky.social
I'm creating a bunch of flexible themes for a mega update of #ggblanket.. They're all the same, but different defaults for colours to make things easy. I've currently got a grey, beige, light, and dark one. Then I wondered about alternative grey/beige options with white gridlines. Thoughts? #rstats
davidhodge931.bsky.social
Forgot to mention that another good thing is that you can easily hash out argument lines, and the function still runs. Of course, the con is some functions don't support it, and this can trip you up
davidhodge931.bsky.social
Just googled.. Like this? Looks like it'd take a bit to get used to! Think I'll stick to trailing
davidhodge931.bsky.social
I really love trailing commas. You often never know how many args you need when you start, and it makes it easier to incrementally add to it. Think all DEVs should support where they can #rstats