Zach Smith
banner
zsmith27.bsky.social
Zach Smith
@zsmith27.bsky.social
Data, rstats, and ecology.
I just started using this family of functions. They’re awesome! Very helpful.
June 24, 2025 at 9:51 PM
Lol me too! Previously I almost always used theme_bw().
June 10, 2025 at 4:34 PM
In R 4.5, grepv() has been added as a shortcut to this. A small nicety.

stat.ethz.ch/R-manual/R-d...
R: Pattern Matching and Replacement
stat.ethz.ch
June 8, 2025 at 5:07 PM
Nice! Thanks for sharing. I’m going to pass this on to my team.
May 18, 2025 at 2:32 PM
This is awesome! I’ve been using across and where a lot lately— they really simplify the task.

You may like na_if (dplyr.tidyverse.org/reference/na...) and, the inverse, replace_na (tidyr.tidyverse.org/reference/re...).
Convert values to NA — na_if
This is a translation of the SQL command NULLIF. It is useful if you want to convert an annoying value to NA.
dplyr.tidyverse.org
May 18, 2025 at 1:12 PM
Maybe the marquee package would help? I haven’t used it much yet myself. marquee.r-lib.org
Markdown Parser and Renderer for R Graphics
Provides the mean to parse and render markdown text with grid along with facilities to define the styling of the text.
marquee.r-lib.org
April 17, 2025 at 9:18 PM
So apparently there is already a run in background shortcut provided with the targets package. I guess I should have checked before asking 🙃
March 19, 2025 at 4:40 PM
Very cool! Thanks for sharing.
March 8, 2025 at 12:23 PM
Any idea if this can be applied when reading CSVs? Every once in awhile I get a different date format from our data providers. It would be great to handle these discrepancies when I read the data into my database.
March 8, 2025 at 11:53 AM
Maybe Rob Hyndman’s texts would be of interest: robjhyndman.com/publications/

More on the tooling side but want to make sure you were aware of these rstats packages, which I believe Rob is a coauthor on: tidyverts.org
tidyverts
tidyverts.org
February 15, 2025 at 11:51 AM
Are we able to see what’s coming in 1.2.0?
January 27, 2025 at 11:14 PM
I have been searching for this solution as well. I have not found a better workflow than what you described. I recently decided to limit my use of quarto and I am reverting back to exporting tables and figures from R and manually inserting them into Word for the majority of my projects.
December 18, 2024 at 6:25 PM
I ended up using:

pointblank::col_vals_expr(
expr = ~ nchar(x) == 4
)
December 12, 2024 at 1:43 AM