Steen Flammild Harsted
banner
steenharsted.bsky.social
Steen Flammild Harsted
@steenharsted.bsky.social
Researcher/Lecturer | Biomechanics, Motion Capture, & Pain Drawings | R Programmer | Exploring human movement and musculoskeletal health 🌍👣📊
Reposted by Steen Flammild Harsted
I ignored the strip.clip argument in #ggplot2 for way too long 😲

Combined with a small negative margin tweak, you can place facet labels inside each panel. A tiny trick that makes small multiples feel so much cleaner.

🔵 no manual coordinates
🔵 inherits theme styling
🔵 scales nicely when resizing
December 12, 2025 at 12:51 PM
You can help Ukraine and learn R at the same time. What's not to like?

Check out the workshops - seriously they look amazing
This workshop is tomorrow, don’t miss your chance to register!

Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
❗️Our next workshop will be on Oct 30, 2 pm CEST titled Data Literacy in Julia for Rtists by
@dwinkl.bsky.social

Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
October 29, 2025 at 7:37 AM
Reposted by Steen Flammild Harsted
#rstats Dev Diary: Realization about this rendering technique: I'm not warping the object, I'm warping space to be non-euclidean!

"It is not the spoon that bends; it is only yourself."

#thereisnospoon
October 24, 2025 at 10:02 PM
Am I wrong, or does Positron default to the same ‘I do not care about reproducibility’ settings as RStudio?

For those who remember the good old Twitter days—here’s a throwback to a classic tip for settings in RStudio.

Can we get a similar guide for Positron?

@posit.co @hadley.nz
#rstats
October 20, 2025 at 11:04 AM
I just spent an entire day with ChatGPT-5 trying to fix a Shiny app that mysteriously crashed when deployed to our server.
We tried everything. Nothing worked. We even broke the app worse. Then spent hours slowly resurrecting it.

At 00:30 I suddenly remembered: Shiny Assistant by @posit.co
Shiny Assistant
gallery.shinyapps.io
October 8, 2025 at 10:44 PM
In ellmer, is there any way to inspect the actual JSON schema that type_* creates? e.g. the opposite of type_from_schema()

type_array(
type_object(
x = type_boolean(),
y = type_string(),
z = type_number())) |>
type_to_schema() # <- what I need, but dont have

@posit.co
#rstats
September 12, 2025 at 8:30 AM
That circle + angles is going to help me sooo much 🤩
Now on CRAN, ggdiagram is a #ggplot2 extension that draws diagrams programmatically in #Rstats. Allows for precise control in how objects, labels, and equations are placed in relation to each other.
wjschne.github.io/ggdiagram/ar...
September 8, 2025 at 4:33 PM
Reposted by Steen Flammild Harsted
Ever stared at a table of regression coefficients & wondered what you're doing with your life?

Very excited to share this gentle introduction to another way of making sense of statistical models (w @vincentab.bsky.social)
Preprint: doi.org/10.31234/osf...
Website: j-rohrer.github.io/marginal-psy...
August 25, 2025 at 11:49 AM
What an awesome update. 100% going to use this when making slides for lectures.
Happy to announce ✨quarto-revealjs-editable✨

This fully supersedes the imagemover extension, as I back then didn't realize the potential. You can now also move, resize, change font size and alignment for text in your slides

github.com/EmilHvitfeld...
#quarto #slidecrafting
August 20, 2025 at 5:48 PM
Happy to say that 'mocapr' now supports import of joint center positions via .trc files from OpenCap.

github.com/steenharsted...

#rstats #mocap #opencap
August 7, 2025 at 7:51 PM
Dear @posit.co,
I'm thinking about switching to Positron, but I heard the `here` package only works with RStudio projects.
I am afraid someone will set my computer on fire if I make the switch?
Please advise before the flames start. 🔥💻🧯

#rstats
July 30, 2025 at 6:06 PM
I love hos Posit seems to be working non-stop on making packages that integrate LLMs into R and data-science workflows
July 26, 2025 at 8:24 AM
I am looking to build a speech-to-speech chat-bot in Shiny.
Is this possible with the current ellmer and shiny-chat architecture?

Thanks

#rstats #shiny
July 20, 2025 at 6:55 AM
Better repost this one...
June 11, 2025 at 9:55 PM
Reposted by Steen Flammild Harsted
Yay AP called the NJ Governor Dem primary for our girl Mike Sherrill!!!
youtube.com/shorts/iUFWG...
One More Badass!
YouTube video by PoliticsGirl
youtube.com
June 11, 2025 at 3:09 AM
🤩patchwork 1.3.0 makes it possible to combine gt tables and plots 🤩

www.tidyverse.org/blog/2024/09...

Thank you @thomasp85.com and @teunbrand.bsky.social

#rstats
June 5, 2025 at 7:46 PM
Reposted by Steen Flammild Harsted
Want to easily use LLMs from R? ellmer 0.2.0 provides:

• Batch & parallel processing
• A universal parameter interface
• Cost tracking
• Support for Mistral, Hugging Face, & Portkey

And much more! Read all about it at: www.tidyverse.org/blog/2025/05... #rstats
ellmer 0.2.0
ellmer 0.2.0 lands with a swag of upgrades: Garrick Aden‑Buie joins the team, we make a couple of breaking changes, and add serious scale with `parallel_chat()` and `batch_chat()`. A new `params()` ...
www.tidyverse.org
June 3, 2025 at 4:34 PM
Reposted by Steen Flammild Harsted
The Modern R Stack for Production AI: doi.org/10.59350/z9f...

Python isn't the only game in town anymore: R can interact with local and cloud LLM APIs, inspect and modify your local R environment and files, implement RAG, computer vision, NLP, evals, & much more #Rstats
The Modern R Stack for Production AI
Python isn't the only game in town anymore: R can interact with local and cloud LLM APIs, inspect and modify your local R environment and files, implement RAG, computer vision, NLP, evals, & much more
doi.org
June 2, 2025 at 10:20 AM
How can I change the assisant logo/image/icon in shinychat?

This is not working:
chat_ui("chat",
placeholder = "The patient is in front of you...",
assistant_img = "logo.png"
)

#rstats
May 24, 2025 at 5:34 AM
Reposted by Steen Flammild Harsted
My love of reading is strongly link to this man…
May 10, 2025 at 4:05 PM
Reposted by Steen Flammild Harsted
"On Tyranny" is a #1 NYT bestseller again. I wish the moment were different. But I’m glad the book is useful. And grateful for all the kind words about putting the 20 lessons to work.
snyder.substack.com/p/twenty-les...
Twenty Lessons, read by John Lithgow
Key selections from On Tyranny, for viewing and sharing
snyder.substack.com
May 4, 2025 at 2:56 PM
Reposted by Steen Flammild Harsted
It’s strange how we cannot make policy to protect Americans from Russian and Chinese disinformation without elements of the American far right identifying with and protecting Russian and Chinese disinformation.
www.technologyreview.com/2025/05/01/1...
Senior State Department official sought internal communications with journalists, European officials, and Trump critics
Trump appointee Darren Beattie requested records regarding a large list of high-profile names, organizations, and right-wing buzzwords for a “Twitter files”-style document dump about alleged conservat...
www.technologyreview.com
May 2, 2025 at 4:07 PM
Reposted by Steen Flammild Harsted
According to Kash Patel’s own financial disclosure statement, he pocketed $25,000 from a production company operated by a filmmaker associated with a Kremlin-subsidized propaganda project, a pro-Putin oligarch, and a pro-Kremlin disinformation agent.

@davidcorn.bsky.social's NEW video explains:
The Curious Case of Kash Patel's $25,000
YouTube video by Mother Jones
youtu.be
April 28, 2025 at 6:22 PM
Reposted by Steen Flammild Harsted
April 25, 2025 at 11:30 AM
Reposted by Steen Flammild Harsted
We’re thrilled to announce the release of rsample 1.3.0!

rsample makes it easy to create resamples for assessing model performance. New updates include flexible grouping for bootstrap intervals and updates from tidyverse developer day.

Learn more: www.tidyverse.org/blog/2025/04...

#RStats
April 21, 2025 at 2:50 PM