Happy reinstalling-all-your-R-packages day to all those who celebrate #rstats

2025/05/04

knitr

Collin Berke (@collinberke.bsky.social; 11/2/3; 2025-04-30): Note to self: if you want to use inline #rstats code in a reveal-js #quarto presentation without any other R code chunks, make sure to specify engine: knitr in your YAML. This took me too long to figure out.

This was helpful: stackoverflow.com/questions/78… โ†ช


Jason Gantenberg (@jrgant.bsky.social; 1/1/1; 2025-05-01): Hey #rstats, is it safe to use DT::datatable() in package vignettes to export a paged HTML table?

I’m using quarto as the vignette engine, and the docs say that it uses embed-resources: true by default. So… seems safe to me?

(I will use a switch to output via knitr for the PDF versions.) โ†ช

rstats

Hadley Wickham (@hadley.nz; 162/11/20; 2025-04-24): Happy reinstalling-all-your-R-packages day to all those who celebrate #rstats โ†ช


Kelly Bodwin (@kellybodwin.com; 53/11/12; 2025-04-25): New unhinged #rstats rant about NSE just dropped:

๐Ÿ”— kbodwin.github.io/paRticles/po…

tl;dr - some cute (?) tricks for iterating over unquoted columns

see below to skip the stream-of-consiousness blog and go straight to code snippets โ†ช


Crystal Lewis (@cghlewis.bsky.social; 52/0/3; 2025-04-24): It’s always nice to do a little data frame comparison before combining data.

I often like to use #rstats janitor::compare_df_cols() โ†ช


Jan Broder Engler (@jbengler.de; 45/0/7; 2025-04-27): This how you can use plotmath expressions for special characters in #tidyplots ๐Ÿ”ฅ

Just surround your string by “$” characters.

Plotmath syntax: stat.ethz.ch/R-manual/R-d…

#rstats #dataviz #phd โ†ช


Amol Borkar (@amolborkar.bsky.social; 43/1/16; 2025-04-26): How R’s data analysis ecosystem shines against Python.
borkar.substack.com/p/unlocking-…

#rstats #python #analytics โ†ช


Danielle Navarro (@djnavarro.net; 41/0/4; 2025-04-27): the #rstats code to make these two pieces is almost identical โ†ช


Jan Broder Engler (@jbengler.de; 39/0/3; 2025-04-26): This is how you can define a custom style to reuse it across several #tidyplots ๐Ÿคฉ

#rstats #dataviz #phd โ†ช


Karandeep Singh (@kdpsingh.bsky.social; 30/2/5; 2025-04-25): What better place to talk about #julialang and all things tidyverse than the SoCal #rstats users group?

An all-star team!

@chelseaparlett.bsky.social @javierorracadeatcu.bsky.social @emilhvitfeldt.bsky.social โ†ช


Fabio Votta๐Ÿ“Š๐Ÿง (@favstats.eu; 30/2/15; 2025-04-25): If you know me, you know I am obsessed with building dashboards. ๐Ÿ˜…

Well, I am excited to share that @ernesto-deleon.com, Max Paulus, & I were awarded a small grant to build an #rstats package to make them accessible to other researchers.

And weโ€™re hiring a Research Assistant to help us do that! โ†ช


Andrew Heiss (@andrew.heiss.phd; 27/1/3; 2025-04-24): Some really neat updates for manipulating colors and labels! #rstats โ†ช


Rodrigo Barreiro (@rodrigo404.bsky.social; 17/1/2; 2025-04-26): #Day25 of #30DayChartChallenge is kind special to me because it relates with my ongoing research! PRS are a simple tool that try to make sense of a lot of genetic variants and their relationship to a certain trait.

Code at: github.com/barreiro-r/3…

#rstats #dataviz โ†ช


Kyle Walker (@kylewalker.bsky.social; 16/1/1; 2025-04-26): On the blog: how to performantly visualize all 85,000+ US Census tracts on an interactive map.

Learn how: walker-data.com/posts/nation…

#rstats #demographics #gis โ†ช


Sofia Lazar (@sofialazar.bsky.social; 16/3/2; 2025-04-26): ๐–ฅ๐—‚๐—‘๐–พ๐–ฝ ๐—๐—๐–บ๐—! ๐ŸŽฏ
๐–ฒ๐—๐—‚๐—‰๐–พ ๐—๐—ˆ ๐—Œ๐–พ๐–พ ๐–จ๐—‡๐–ฝ๐—‚๐–บ’๐—Œ ๐—‹๐—‚๐—๐–พ๐—‹๐—Œ ๐—‚๐—‡ ๐Ÿฅ๐–ฃ…. ๐–ป๐—…๐–พ๐—‡๐–ฝ๐—‚๐—‡๐—€ ๐–พ๐—…๐–พ๐—๐–บ๐—๐—‚๐—ˆ๐—‡, ๐—๐—ˆ๐—‰๐—ˆ๐—€๐—‹๐–บ๐—‰๐—๐—’, ๐–บ๐—‡๐–ฝ ๐—๐—’๐–ฝ๐—‹๐—ˆ๐—…๐—ˆ๐—€๐—’

๐Ÿ”ฅ๐–ฅ๐—Ž๐—‡ ๐–ฟ๐–บ๐–ผ๐—: ๐Ÿค๐Ÿช๐Ÿช๐Ÿข ๐—‹๐—‚๐—๐–พ๐—‹๐—Œ ๐–ผ๐—‹๐—ˆ๐—Œ๐—Œ ๐—๐—๐–พ ๐–ป๐—ˆ๐—‹๐–ฝ๐–พ๐—‹๐—Œ, ๐–บ๐—‡๐–ฝ ๐—๐—๐–พ ๐—…๐—ˆ๐—‡๐—€๐–พ๐—Œ๐— ๐—‰๐–บ๐—๐— ๐—‹๐—Ž๐—‡๐—Œ ๐Ÿฅ๐Ÿข๐Ÿซ,๐Ÿฃ๐Ÿฃ๐Ÿง ๐—„๐—†!

#๐–ฆ๐–จ๐–ฒ #๐–ฑ๐—Œ๐—๐–บ๐—๐—Œ #๐–ฌ๐–บ๐—‰๐—‰๐—‚๐—‡๐—€ #๐–จ๐—‡๐–ฝ๐—‚๐–บ #๐–ง๐—’๐–ฝ๐—‹๐—ˆ๐—…๐—ˆ๐—€๐—’ โ†ช


Rodrigo Barreiro (@rodrigo404.bsky.social; 15/0/3; 2025-04-25): Just one more week to go ๐Ÿ˜ฎโ€๐Ÿ’จ

Finished my #day24 of the #30DayChartChallenge using some WHO data.

Code at: github.com/barreiro-r/3…

#rstats #dataviz โ†ช


**** (@cascadiarconf.bsky.social; 14/0/8; 2025-04-25): ๐Ÿš€ RStudio fans: meet Positron

Come learn Positron โ€” the new IDE from @posit.co โ€” at Cascadia R Conf!
Hands-on, beginner-friendly, and packed with tips to level up your R workflow.
Led by: Charlotte Wickham @cwick.co.nz

cascadiarconf.com

#RStats #Positron #CascadiaRConf #datasci โ†ช


Dariia Mykhailyshyna (@dariia.bsky.social; 13/1/5; 2025-04-26): โ—๏ธOur next workshop will be on May 1st, 6 pm CEST on Smart Extraction: converting PDF tables into usable data with R by @flaviaerius.bsky.social!
Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats #dataviz โ†ช


Stephen Turner (@stephenturner.us; 12/2/8; 2025-04-25): EvoWeaver: large-scale prediction of gene functional associations from coevolutionary signals www.nature.com/articles/s41… ๐Ÿงฌ๐Ÿ–ฅ๏ธ๐Ÿงช #Rstats bioconductor.org/packages/Syn… โ†ช


James Goldie (@jamesgoldie.dev; 10/0/3; 2025-04-27): This is a v nice intro to Julia for #rstats or #python users from @coatless.bsky.social (ashamed to say I still havenโ€™t given Julia a proper go!) โ†ช


Jasmine Daly (@jasminedaly.bsky.social; 10/1/1; 2025-04-25): Look what I found while purging some baby clothes (๐Ÿฅน) today!

A โ€œvintageโ€ @posit.co / RStudio t-shirt from useR! 2016 conference in Stanford, CA

#rstats #databs โ†ช


Theresa Kim, PhD, MS (@tyk314.net; 9/0/1; 2025-04-26): Hey, #statssky, #hpss, #rstats! Look at me and my chickens! โ†ช

yihui.org

Yihui Xie (@yihui.org; 6/2/1; 2025-04-27): eval(parse()) is neither secure nor robust. If you know variable names, you should get()/mget() them, e.g.,

mget(nasdaq100_symbols) |>
lapply([, 6) |>
as.data.frame()

However, when you have to use mget() to process data, you may have to rethink your data structure: yihui.org/en/2023/04/g… โ†ช


Achim Zeileis (@zeileis.org; 4/1/1; 2025-04-27): Dear #rstats experts, do you see the culprit in this problem and how it can be avoided/fixed?

I get an unclosed sink() after I

Details on SO, tagging @yihui.org

stackoverflow.com/questions/79… โ†ช