Nick Tierney

@njtierney.bsky.social

|| PhD Statistics | Research Software Engineer | Loves #rstats | Outdoors person | Coffee person | Photography person | Serial Hobbiest | he/him ||

Any hacky #rstats workaround for the {gt} package? I want the interactive search feature to include columns that are hidden. I tried making a px(0) width column instead of hiding it, no luck. Gimme your hacky ideas!

Lightweight Text Analytics Workflows with DuckDB In this blog post, Petrica Leuca demonstrates how to use #DuckDB for keyword, full-text, and semantic similarity search with embeddings. Learn how to use DuckDB to efficiently perform advanced text analytics in Python: duckdb.org/2025/06/13/t...

BildBildBild

I really think the "AI echo-hype chamber" is A Thing. Example: You talk to an AI about Your Idea and it is your hype-person: AI: "Yeah! That's a great idea, and the thing is NO ONE ELSE is doing it, you're really leading the field" Your idea: A pizza slicer holster. (It's still a good idea)

What are the current views on extending #rstats data.frames with S7 vs S3? I like the idea of attributes on my data frames, so I could do: dat@attribute_1 Instead of an accessor: attribute_1(dat) But then you need to do: dat@data to get the df, unless I define a `$` method?

Have #rstats folks run into this issue before: ``` Check: re-building of vignette outputs, Result: NOTE Re-building vignettes had CPU time 4.1 times elapsed time ``` I'm starting to go mildly insane trying to fix! If you happen to have a solution, let me know! at forum.posit.co/t/cpu-time-x...

CPU time xx times elapsed time

Hi folks, I'm working on re-submitting {greta} onto CRAN after it was archived last year. (this PR: Address cran patch i792 by njtierney · Pull Request #793 · greta-dev/greta · GitHub) I keep running...

forum.posit.co

Doing something a bit different this year. I’m writing blog posts that have nothing to do with code or corporate. Just a guy posting whatever he wants to his own website because that’s how the internet should be. So here’s a post about painting Warhammer! mdneuzerling.com/post/paintin...

Painting Skaven with oils - David Neuzerling

My local wargaming club was hosting a Warhammer: Age of Sigmar Spearhead tournament with a twist: if you could paint your entire army between the time the tourn

mdneuzerling.com

I remember John Fox as one of the most kind R Foundation #rstats members (ca. 2006-2023) giving wise and kind words often. The 1-1 interview he held with several of us, resulting in a useR!2008 pres and the article journal.r-project.org/articles/RJ-... It is sad to miss him. May he rest in peace!

Michael Friendly@datavisfriendly.bsky.social · 8mo ago

#rstats It is with profound sadness I heard that my long-time friend and colleague, John Fox passed away this week. He was the author of {car}, {effects}, {Rcmdr}, ... and numerous influential books. I will miss him greatly. www.john-fox.ca

I don't know how I've missed it because it's *right on the documentation home page*, but if you use {glue} for nice string interpolation in #rstats and you have {stringr} loaded (likely through the tidyverse), you can use str_glue() instead of glue::glue() or loading library(glue) glue.tidyverse.org

Geordi LaForge rejecting this code

library(tidyverse)

penguins |>
  mutate(
    nice = glue::glue(
      "{species} on {island} Island ({body_mass} g)"
    )
  ) |>
  select(nice)
#>                                    nice
#> 1   Adelie on Torgersen Island (3750 g)
#> 2   Adelie on Torgersen Island (3800 g)
#> 3   Adelie on Torgersen Island (3250 g)


Geordi LaForge approving this code

library(tidyverse)

penguins |>
  mutate(
    nice = str_glue(
      "{species} on {island} Island ({body_mass} g)"
    )
  ) |>
  select(nice)
#>                                    nice
#> 1   Adelie on Torgersen Island (3750 g)
#> 2   Adelie on Torgersen Island (3800 g)
#> 3   Adelie on Torgersen Island (3250 g)

R dev friends - I am updating a package that implements an analytical method. The update will mean a fundamental change in the outputs compared to the current version of the pkg (but is based on consult with experts).

OK nothing like proclaiming in a public space and then quickly finding solution 🤪 If anyone else is stuck on this, sf seems to not work with plotly. If you put your coords in as a df, and use geom_path to plot with geom_tile it renders (and saves output correctly with .png) #rstats soln next comment

Jo Potts@analyticaledge.bsky.social · 9mo ago

Ok #rstats #shiny hive mind. When rendering geom_tile to a plotly in shiny, and press the download button the resulting .png is missing the tiles? What gives! Any advice gratefully received (These data are fake!)

new #dplyr filtering function who dis 😍 meet filter_out()! 👍 GO PUT A THUMBS UP ON DAVIS'S TIDYUP THINGY ON GITHUB TO SHARE MY ENTHUSIASMMMM!! #rstats #databs And, you know, provide your thoughts on this newly-proposed function if you have them 😌

A screenshot of code that uses the dplyr function called filter, which is built to include rows, in order to exclude them instead. The result also filters out rows where values are NA, which isn't helpful usually. It then shows the messy code you'd need to use to not exclude those NAs, and compares it to some very clean code using a newly proposed function called filter_out, which does not exclude NAs. Libby has drawn silly illustrations all over this screenshot, like yucky faces for dropping NAs and a smily face saying, "new filtering function?"
Davis Vaughan@davisvaughan.bsky.social · 9mo ago

We are looking for #rstats community feedback on 3 new dplyr functions! We're aiming to expand the `filter()` family: - `filter()` to keep rows - `filter_out()` to drop rows - `when_any()` and `when_all()` as modifiers Read more and leave feedback here: github.com/tidyverse/ti...

Example of using `filter_out()` on the `penguins` dataset, showing how it is much easier than `filter()`, especially with `NA`s