Henrik Bengtsson
@henrikbengtsson@mastodon.social
CS/Math Stat/UCSF Assoc Prof
R Foundation/R Consortium
science/reproducibility/devel
hang gliding/paragliding
born at 330ppm
he/him
#RStats
- https://twitter.com/henrikbengtsson
- GitHub
- https://github.com/HenrikBengtsson
- Futureverse
- https://www.futureverse.org
- Bluesky
- https://bsky.app/profile/henrikbengtsson.bsky.social
Recent public posts
- Some significant memory and hence performance improvements in #futureverse are being rolled out. Some future.apply-based pkgs will run faster. Stay tuned. Techn...
- RE: https://toot.cat/@infotroph/117396000322001768. Future backend future.callr 1.0.1 is now on CRAN. It fixes an exploded call stack causing slowdown in some c...
- I love bug reports and any odd behaviors reported by end users. Keep 'em coming (but please make sure they reach me too if it's my stuff) #RStats #Futureverse #...
- Today is the World Day Against the Death Penalty (October 10). Here's my personal statement to end the death penalty: - I don't want anyone to receive the death...
- RE: https://fosstodon.org/@RConsortium/117389854506909308. Starts in 30 mins... (lobby access in 15 min) FYI, you can hop on to this presentation that with very...
- Bug? For lists, we have: > x <- as.list(1:3) > x[[4]] Error in x[[4]] : subscript out of bounds. but. > x[[Inf]] NULL. In contrast, for vectors we get an error ...
- Bug or not? x <- c("ac", "abc", "abbc", "abbbc", "abbbbc", "abbbbbc") grepv("ab{0,2}c", x) #> [1] "ac" "abc" "abbc" grepv("ab{,2}c", x) #> [1] "ac" "abc" "abbc"...
- Oh, great. TIL #RStats sprintf("%02s", x) differs on macOS and Linux; Linux: > sprintf("x=%02s", c("1", "2", "a")) [1] "x= 1" "x= 2" "x= a" macOS: > sprintf("x=...
- Heads up. Don't submit to CRAN right now. The CRAN submission system is currently broken, because Windows checks won't complete. If you submit your package will...
- Wow, hats off: Updated po/pot files and merged the translations from the R Translation Team, with the patch generated by @daroczig. Includes a major contributio...
- RE: https://mastodon.social/@rmflight/117146883938393856. Memory management is tricky. The Futureverse Resource Project (https://www.futureverse.org/roadmap/res...
- Ever run a data analysis for hours only to find out it ran out of memory? Then lost hours to troubleshooting and retries? This is a waste of both your time and ...
- ๐ Want to run boot() in #parallel? Use. b <- boot(city, ratio, R = 1000) |> futurize() from the futurize package. #rstats. https://futurize.futurever.se
- ๐ Want to run plyr::llply() in #parallel? Use. y <- llply(x, fcn) |> futurize() from the futurize package. #rstats. https://futurize.futurever.se
- ๐ Want to run foreach() in #parallel? Use. y <- foreach(z = x) %do% { fcn(z) } |> futurize() from the futurize package. #rstats. https://futurize.futurever.se
- ๐ Want to run purrr::map() in #parallel? Use. y <- map(x, fcn) |> futurize() from the futurize package. #rstats. https://futurize.futurever.se
- Used #LibreOffice for a decade on #Ubuntu #Linux but never really liked the teeny GUI fonts & icons. #TIL that in addition to: sudo apt install libreoffice-writ...
- @kupac. I can speak to if (x) { ... } as I was one of the drivers to make length(x) > 1 an error. It had been a warning since 2002 (saying only x[1] was used), ...
- A FYI for those who are about to submit a talk/tutorial proposal for @useR_conf 2024: After you have submitted the proposal, you still have the option to edit i...