Henrik Bengtsson
banner
henrikbengtsson.bsky.social
Henrik Bengtsson
@henrikbengtsson.bsky.social
CS/Math Stat/UCSF Assoc Prof
R Foundation/R Consortium
https://futureverse.org, https://mastodon.social/@henrikbengtsson
#RStats
Reposted by Henrik Bengtsson
One might also note that parallel:: detectCores() itself says not to use it this way!

"This is not suitable for use directly for the mc.cores argument of mclapply nor specifying the number of cores in make cluster"
November 6, 2025 at 3:21 AM
The detectCores() apocalypse is creeping up on us 👻🐛

As more people are getting access to 128+ CPU cores, code spinning up parallel cluster with detectCores() workers fails - not enough #RStats connections available

Friends, do *not* default to detectCores(), bc www.jottr.org/2022/12/05/a...
Please Avoid detectCores() in your R Packages
The detectCores() function of the parallel package is probably one of the most used functions when it comes to setting the number of parallel workers to use in R. In this blog post, I’ll try to explai...
www.jottr.org
November 5, 2025 at 11:55 PM
Reposted by Henrik Bengtsson
The useR! 2025 conference virtual talks are available on YouTube 👇🏼👇🏼👇🏼

www.youtube.com/playlist?lis...

#rstats
useR! 2025 Virtual Talks - YouTube
A playlist containing all the virtual talks from useR! 2025. Please contact us if you see an issue with a video.
www.youtube.com
November 3, 2025 at 1:52 AM
For other #RStats pkg devs: don't forget to upgrade your old .Deprecated() warnings to .Defunct() errors.

I just grep:ed my code and found overdue ones in 'progressr' & 'listenv'. With .Defunct() in place, I'm one step closer to be able completely remove two fcns from these packages 🧹
November 1, 2025 at 11:00 PM
Reposted by Henrik Bengtsson
It's time for the Top 40 New #RStats Packages on CRAN for September 2025!

Learn about new packages for data, statistics, finance, and more. These great packages come complete with great documentation, images, references.

Read the post: rworks.dev/posts/septem...
September 2025 Top 40 New CRAN Packages – R Works
Here are my picks of the best of the two hundred forty new packages that landed on CRAN in September, organized into thirteen categories: Computational Methods, Data, Decision Analysis, Ecology, Epide...
rworks.dev
October 29, 2025 at 2:28 PM
Reposted by Henrik Bengtsson
The {ntfy} #rstats package has been updated on CRAN with internal improvements and tests thanks to @hadleywickham https://cran.r-project.org/package=ntfy

Send a message to your devices on-demand or when some code completes, including emoji and plot outputs. No […]

[Original post on fosstodon.org]
October 26, 2025 at 9:30 PM
Reposted by Henrik Bengtsson
Really looking forward to hearing from Dr Heather Turner at R-Ladies Melbourne next month! Her work on R Dev Days and community sustainability is incredible.

👇 See our meetup below to register!

#RStats #WomenInSTEM #Rladies
Excited to host Dr Heather Turner, leading #RStats developer & statistician! 🎉

She’ll share insights from #RDevDays: collaborative events where contributors, including women & gender minorities, work on base #R, dashboards & more.

🔗 Sign up: buff.ly/F2qikpO
📆 12 Nov, 5.30-7.30pm
📍 TBA
October 23, 2025 at 10:53 PM
Reposted by Henrik Bengtsson
That was a recent R dev days initiative, see this recent entry from the NEWS changes feed.
October 23, 2025 at 1:34 PM
Reposted by Henrik Bengtsson
We have started to release the videos! What are your favorite talks? Check out "Every Eclipse Visible from Your Current Location for the Rest of Your Life (with shiny)" by Tim Bender, and our YouTube channel youtu.be/G_jb2VB0p2w
as the others are released.

user2026.r-project.org
#RStats #user2025
Every eclipse visible from your current location for the rest of your life timothy bender
YouTube video by useR! Conference
youtu.be
October 21, 2025 at 1:25 PM
I appreciate the work that the quarto team is putting in on simplifying #a11y validation - most recently adding built-in support for AXE (quarto.org/docs/output-...)

#RStats
HTML Accessibility Checks – Quarto
quarto.org
October 20, 2025 at 9:19 PM
Reposted by Henrik Bengtsson
Something like this!

Tweaked the calculation to something I had originally intended and included 3-letter endings only.

–arp is very Skåne

I like the distribution of the –red/–röd/–ryd endings, of the same origin

Code: github.com/borstell/maps
October 4, 2025 at 9:28 PM
Reposted by Henrik Bengtsson
Distributions of endings in Swedish place names

#RStats #DataViz
October 1, 2025 at 3:11 PM
Reposted by Henrik Bengtsson
🚨 Big news for the R Community!

The Sovereign Tech Fund has invested $450,000 in the R Foundation to strengthen R’s sustainability, security, and modernization.

Details: r-consortium.org/posts/sovere...

#rstats #opensource #datascience
The Sovereign Tech Fund invests $450,000 in R Foundation to Enhance R’s Sustainability and Security – R Consortium
R Foundation embarking on a crucial project to modernize R’s core infrastructure, improve its maintainability, and fortify its supply chain.
r-consortium.org
October 2, 2025 at 4:54 PM
Another real-world #HPC cluster confirmed for future.batchtools.futureverse.org - built-in template for PBS/TORQUE

plan(batchtools_torque)

works with PBSPro scheduler. Big thanks to @eliocamp.mastodon.social.ap.brid.gy - req'd some xtra efforts bc special R_LIBS_USER location

#RStats #parallel
October 1, 2025 at 1:05 AM
"tarball size threshold for CRAN increased to 10 MB (as it already is in the policies)"

github.com/r-devel/r-sv...

#RStats
tarball size threshold for CRAN increased to 10 MB (as it already is … · r-devel/r-svn@d0b709c
…in the policies) git-svn-id: https://svn.r-project.org/R/trunk@88883 00db46b3-68df-0310-9c12-caf00c1e9a41
github.com
September 29, 2025 at 2:09 PM
Reposted by Henrik Bengtsson
I wish there was static compilation or JIT of function and objects of dependency packages, so that one would not wait to get all dependencies to use just a few functions
September 27, 2025 at 10:43 AM
Reposted by Henrik Bengtsson
Super excited for the new release of #rstats V8 which now also works in WebR by running js/wasm natively in web worker (thanks to @gws.phd). Will release some cool new packages soon to show the potential of WASM in R ✨
September 27, 2025 at 8:40 AM
A #Slurm user just confirmed that "yay it works. Pretty sick!"

Thanks to excellent feedback from several users, it'll soon be even easier to distribute #rstats code via #HPC job schedulers using future.batchtools

#parallel #futureverse
If anyone else is following this, we've moved over to github.com/futureverse/..., where progress has already been made
September 17, 2025 at 3:19 PM
#RStats #Positron Q: Is it possible to programmatically restart R running in Position Console?

I want to add support for it as startup::restart(), and if not possible (e.g. RStudio Console), at least produce an informative error message

github.com/HenrikBengts...
September 15, 2025 at 9:58 PM
Reposted by Henrik Bengtsson
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
September 14, 2025 at 11:29 PM
Reposted by Henrik Bengtsson
📢 R Dev Day @ Australia

🏢 Monash University, Melbourne
🌐 Remote, Australia
📅 Fri 21 Nov

It's happening!

Apply to attend this free event, to collaborate on contributions to #RStats! You don't need to be an R guru!

Deadline Sunday 16 Nov: pretix.eu/r-contributo...

#RDevDay #RSEng
R Dev Day @ Australia 2025
Fri, Nov. 21st, 2025
pretix.eu
August 29, 2025 at 1:32 AM
Reposted by Henrik Bengtsson
Sign-up for the next round of the rainbowR buddies scheme is open! Buddies will be paired/introduced on Sept 2nd 🌈👯‍♂️

If you're LGBTQ+ and code in #RStats, and want an opportunity to connect with someone else in the community (through a random pairing), then this is for you 😃

rainbowr.org/buddies
August 29, 2025 at 7:18 PM
Reposted by Henrik Bengtsson
TIL about SciServer.org: Free scientific computing platform with persistent accounts (#NSF-funded). All the power of #JupyterHub without the setup hassle. Focus on building great teaching + research notebooks, not infrastructure! #OpenScience
August 28, 2025 at 3:08 PM
Reposted by Henrik Bengtsson
Writing my first analyses using {targets} and honestly, I don't know why I didn't pick this up sooner. Sure, the functional programming approach takes some getting used to, but I've never had a clearer picture of where I'm at with with a project.#rstats
August 26, 2025 at 1:36 PM