r/rprogramming

▲ 47 r/rprogramming+2 crossposts

uvr: fast R package and version manager — big 0.4.x update

Quick update on uvr — a fast R package manager written in Rust (uv-style: manifest + lockfile + managed R versions + isolated project libraries). Last time I posted was around 0.2.9; a lot has landed since.

Updates

- R installs got rebuilt from scratch. uvr now installs R from Posit's portable, relocatable r-builds (https://github.com/rstudio/r-builds) instead of custom-patching official installers. This fixed a whole class of macOS breakage, added musl/Alpine support, and made Windows installs work without admin rights. Partial versions work everywhere too: uvr r install 4.5 just grabs the newest 4.5.x, and a 4.5 pin matches it.

- Switching R versions no longer nukes your library on every sync. The old behavior re-wiped the project library each time it saw a version mismatch (painful, as B-Nilson rightly pointed out). Now uvr sync re-resolves the lockfile for the new R once, wipes once, and moves on.

- uvr cache clean got filters. --package sf or --r-version 4.4 (repeatable/comma-separated) lets you troubleshoot one package or retire one R series without losing the whole cache. Another B-Nilson request!

- Bioconductor just works in uvr add. Adding a package that lives on Bioconductor instead of CRAN no longer errors with "retry with --bioc" — uvr detects it, tells you, and adds it from the right channel (version constraints preserved).

- OpenMP-linked binaries fixed on macOS. Packages built with -fopenmp (Rtsne, mgcv, dotCall64, …) used to fail with "symbol not found in flat namespace" on uvr-managed R. The bundled OpenMP runtime is now loaded properly, and uvr sync self-heals older installs.

- A community code audit made everything more solid. gdevenyi filed a systematic 46-issue audit of the codebase (with file:line references — heroic work). Nearly all confirmed issues are now fixed across 0.4.1/0.4.2: cache integrity checks (sha256 on every hit), lockfile consistency for selective updates, honest error reporting where failures used to be silently swallowed, and a long tail of correctness fixes.

and much more...

This would have not been possible without the great help of many, special shoutout to https://github.com/B-Nilson for the endless testing and support and the entire group of users who have written code, filed issues, tested this, and loved it. One of the most rewarding aspects of this process has been building a community around this project ❤️ it's early days but so exciting!

Links

- Site: https://nbafrank.github.io/uvr/

- Repo: https://github.com/nbafrank/uvr

- R companion: https://github.com/nbafrank/uvr-r

Feedback welcome! Issues on GitHub are the most useful — the last few releases were basically driven by them, so keep them coming!

reddit.com
u/nbafrank — 3 days ago
▲ 2 r/rprogramming+3 crossposts

I built free, browser-based statistics calculators — verified against R

I run a small R consulting studio and kept rebuilding

the same calculators for clients, so I put them

online for free:

- Sample size & power — uses the exact noncentral-t,

so it matches R's power.t.test to the decimal (most

web calculators use a normal approximation and are

slightly off)

- p-value (t / z / chi-square) and confidence

intervals (mean, plus Wilson for proportions)

- Descriptive stats and Pearson correlation with a

scatter plot

- A "Which statistical test should I use?" decision

Everything runs client-side — no sign-up, no ads,

nothing uploaded. The stats engine (t / chi-square /

noncentral-t distributions, power) is unit-tested

against R (pt/qt/pnorm/pchisq/power.t.test/cor.test),

so results agree.

https://rverseanalytics.com/tools.html

u/Technical_Soup9347 — 6 days ago

Social Network Analysis

Hey everyone

I'm taking a class on social network analysis, and I was wondering if there were any resources online that I can use because the content in the class is not great at all and I don't want to blindly rely on chatgpt to pass. do you guys recommend any online or youtube courses that I can follow?

reddit.com
u/SlightSheepherder234 — 6 days ago
▲ 127 r/rprogramming+1 crossposts

Made a free 15-part "R Foundations" video course — every lesson has the code and a run-it-in-your-browser console

I put together a free beginner R course: 15 short video lessons that go from using R as a calculator to data frames, reading a CSV, writing functions, packages, dplyr and the pipe.

What might make it useful vs. the usual videos: each lesson pairs the screencast with the exact code, a downloadable .R script, and a live webR console right on the page — so you can edit and run everything in the browser, nothing to install. All lessons have English subtitles.

The videos are going up on YouTube, and the full course with the interactive consoles is on the site:

- Course: https://rverseanalytics.com/courses/r-foundations.html

- YouTube: https://youtube.com/@rverseanalytics

It's all free and open. Happy to hear feedback on the lessons — and what topics you'd want covered next.

reddit.com
u/Technical_Soup9347 — 11 days ago

Apple Neo

Does anybody have experience running R on one of the new Neo's, and how did it perform? They seem like good budget laptops but I need something capable of running R without crashing out..

reddit.com
u/Bxrnes — 10 days ago
▲ 15 r/rprogramming+1 crossposts

I built 12 free R biostatistics cheat sheets (gtsummary, survival, causal inference, mixed models…) — searchable, no signup

email wall):

• gtsummary "Table 1" & regression tables that survive peer review

• Survival analysis (Kaplan–Meier, Cox PH, censoring)

• Causal inference (target trials, DAGs, IPTW, standardization)

• Mixed models, repeated measures, missing data (MICE)

• Power & sample size, effect sizes & reporting, diagnostic accuracy

• Scale development & validation, clinical trial estimands

Each sheet is a one-page landscape PDF with runnable R recipes and reporting checklists. Two also link a downloadable plotting script.

Library (searchable/filterable): https://rverseanalytics.com/cheatsheets

rverseanalytics.com
u/Technical_Soup9347 — 13 days ago