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
- set a time limit
- run #knitr with timeout in chunk
- open a new plot afterwards
Details on SO, tagging @yihui.org
stackoverflow.com/questions/79… โช