Dan Chaltiel
danchaltiel.bsky.social
Dan Chaltiel
@danchaltiel.bsky.social
110 followers 220 following 83 posts
R nerd, developer of the {crosstable} package. Biostatistician (PharmD, PhD) in clinical cancer research. https://github.com/DanChaltiel
Posts Media Videos Starter Packs
Pinned
Hey #Rstats!
Tired of manually adding @importFrom all over your 📦 #Rpackage?
Say hello to {autoimport}, now on CRAN! 🚀
It parses your code and adds the necessary tags automatically, at the function or package level.
Less typing, more coding! 🔥
github.com/DanChaltiel/...
I think you nailed it, "I need to spend less time with my computer and more time with people." 😂
Interesting, but I'm not sure I understood correctly. We should not use 42 because students and AIs will think it is the "only right value"? Because in actual problems, you either replicate or cross-validate your simulations, so I'm not sure how the seed can lead to incorrect results.
Reposted by Dan Chaltiel
Still fascinated with #webR and its potential for teaching stats

Here students can play (even from their phones) and find out themselves how the p-value depends on sample size

pakillo.github.io/LM-GLM-GLMM-... #rstats
Salut tout le monde !
On cherche un·e stagiaire M2/ingé pour un projet R.
Pas besoin de formation pointue en stats.
À Gustave Roussy, près de Paris (métro 14). Le/la stagiaire apprendra plein de choses !
oncostat.github.io/internships_...
N'hésitez pas à partager ou à me demander des précisions 😊
oncostat.github.io
I was also very annoyed by this. Thank you so much for this feature! 🤩🤩
For now, it is the lack of floating windows for plots and HTML views that prevents me from migrating :
github.com/posit-dev/po...
Also, they recently integrated LLM features by default, which makes me very nervous about confidentiality 😱
Reposted by Dan Chaltiel
Reposted by Dan Chaltiel
I didn't know you could write nested loops in R this way
#rstats
www.quantstart.com/articles/Aut...
Is there a video of this presentation? I'd love to hear that 🤩🤩
Nice !
For more complex strings, you can use www.rdocumentation.org/packages/gto...
But you probably saved me a dependency to gtools, thanks 😁
Reposted by Dan Chaltiel
When I see a report filled with p-values and no effect sizes, I worry. When I see model metrics and no baseline comparison, I worry. Statistics is more than math. It’s the discipline of contextual honesty.

#DataScience #MachineLearning #AI #RStats
You could also use: slice_tail(n=1)
That is so nice of you, thanks ! 😄
thanks, I'll give it a try!
Nice!
What feature do you love especially, compared to flextable or gt?
I was considering adding a tinytable output in my {crosstable} package, but I'm curious about what it brings.
This has been asked github.com/rstudio/rstu..., but unfortunately the issue was closed for inactivity before being addressed.
It is significantly easier to switch on Positron than RStudio, though.
Rig is great, but a bit overkill for small projects.
Reposted by Dan Chaltiel
If doughnuts are coming back into fashion, let me bring this one back. #rstats #ShowYourStripes #ShowYourTorus
Reposted by Dan Chaltiel
Really insightful post from Julie Tibshirani (spotted in LinkedIn, can't find on Bsky) reflecting on #rstats 's unique governance structure and what can be learned for other languages

jtibs.substack.com/p/if-all-the...
If all the world were a monorepo
The R ecosystem and the case for extreme empathy in software maintenance
jtibs.substack.com
Reposted by Dan Chaltiel
By request: Same #rshiny app → native #electron desktop app workflow now on #Windows11

shinyelectron::export() → #rshinylive → installer → app.exe

[Worth the Parallels license to record this from my Mac]

Still no #rstats dependencies for end users. Living the cross-platform life (virtually).
Looks amazing! Is it planned to support Windows 10? I'd love to try it out!
Because running tests is an extra action that would take me a few seconds each time.
Reposted by Dan Chaltiel
💡 Tips wanted! #RStats
You're working on a package 📦 and improving a function. What's your development workflow?
I usually put a minimal example in a helper file, so every time I run `devtools::load_all()` it loads my changes and shows their effect.
But I wonder if there's a cleaner way to do it...