i live 20 minutes down the road, just hmu next time π
i live 20 minutes down the road, just hmu next time π
Literally no one:
Like absolutely no one at all:
Me: `uvx --from air-formatter air format path/to/script.R`
Come for Isabella's puns π stay for the peek behind the curtain of how functions get added to or deprecated from #tidyverse packages like #dplyr π from @davisvaughan.bsky.social himself
Tomorrow! Tues 12pm ET! Register at pos.it/dslab if you haven't already ππ» and we'll see you there #databs #rstats
Hello, dplyr 1.2.0! Join us with Davis Vaughan to explore new functions! Tuesday, Feb 24 at 12pm ET pos.it/dslab
I'm beyond excited for tomorrow's Data Science Lab with @davisvaughan.bsky.social!
dplyr 1.2.0 is now out. There are many new functions in this release, and you will see them in action, live. You won't want to `filter_out()` this info π
Join us, we can't `replace_*` you π§‘ pos.it/dslab
Thanks! Has something to do with the plt.close(). We've got it tracked here and will bump to resolve for the next release github.com/posit-dev/po...
never have i ever desired this blasphemy
df <- data.frame(x = 1:2, y = 3:4)
cols <- "x"
df[, cols]
cols <- c("x", "y")
df[, cols]
In other words - If the author doesn't care about their own content, why should I?
We use the jupyter protocol to power our console/plot pane so im a bit surprised it didn't work. We should support display_data and update_display_data. If you have a reprex that consistently fails then we'd happily take an issue for it!
Nice!! Very Positron/RStudio-esque! Positron's Statement Range (CMD+Enter) feature works similarly, the R backend for it also uses tree-sitter like this. It's all wired up as a custom LSP Request github.com/posit-dev/ar...
The newest edition of posit::glimpse() is here! π
Read a roundup of major #RStats & #Python updates: ggplot2 4.0.0, dplyr 1.2.0, ellmer 0.4.0, Positron native Jupyter Notebook support , and more.
ποΈ Plus, registration for posit::conf(2026) is officially OPEN!
Find it here: posit.co/blog/posit-g...
see also bsky.app/profile/davi...
screaming this from the rooftops
#rstats filter_out is good
In the end that's where 90% of the effort went!
That's a crazy improvement for such a frequently used function
And for package developers, an extra special gift!
The low dependency vctrs package now has:
- vec_if_else()
- vec_case_when()
- vec_replace_when()
- vec_recode_values()
- vec_replace_values()
Use these in your packages when you want the consistency of the tidyverse without a dplyr dependency!
Last week we released dplyr 1.2.0, but we left off something VERY important π
`dplyr::if_else()` and `dplyr::case_when()` are now up to 30x faster and use 10x less memory!
We dive into how we achieved these numbers in this new #rstats post!
tidyverse.org/blog/2026/02...
With character vectors maybe, but if you use any types besides character/numeric then that simple approach no longer works. recode_values() works with any type! Plus I think the added safety of `unmatched` is pretty meaningful! www.reddit.com/r/rstats/com...
Being able to use a lookup table & just use "from" & "to" language like this is SUCH a wonderfully change for me when recoding values π₯Ή #dplyr has always felt conversational to me, & now we can finally use it to say "recode this variable from this to that" without typing a long case_when #rstats
Really great supplemental post for dplyr 1.2.0 π
Feel free to open an issue with the reprex github.com/tidyverse/dp...
SORRY πππ
ahh so this is what Kamala's announcement was about
In the end, we view `filter_out()` as a "variant" of the core verb `filter()`, just like how `slice_head()` is a "variant" of the core verb `slice()`. That seemed to require the smallest amount of mental adjustment, and doesn't require teachers to completely rewrite their presentations.
Also, I don't think I've ever heard someone say they "filter in these rows". I think it would have been `filter_for()` and `filter_out()`, i.e. "filter for these rows of interest" and "filter out those rows"
We had a lot of discussion about alternate `filter()` names, but decided that the cons greatly outweigh any pros github.com/tidyverse/ti...
#rstats I'm very happy to announce Jarl 0.4.0!
Jarl is a very fast R linter, written in Rust. This release brings lots of improvements and fixes.
See the blog post: www.etiennebacher.com/posts/2026-0...
And the full changelog: jarl.etiennebacher.com/changelog
π§΅ to highlight some features below
If they'd only done half these changes it already would've been a huge boost⦠This really is an amazing update.
literally lifechanging as a case_when addict