Re:Big Book of R
by kerkeslager on Friday April 11, 2025 @01:10AM
(#43650680)
Plumber is the first solution to this problem I've seen that I'd actually use--it seems like I'd be calling the API from Python or perhaps JS on the frontend, but that's a pretty reasonable integration layer and I don't think that would be a problem.
Thanks for posting!
Re:Big Book of R
by _Wintermute on Friday April 11, 2025 @09:49AM
(#43653776)
We tried plumber at work and ran into enough issues (memory leaks, difficulty wrangling JSON in R, poor performance) that I don't think I could recommend it.
You might be interested in https://github.com/posit-dev/plumber2
https://www.rplumber.io/
For capital P Production use I would still rewrite it in rust (polars) or go (stats). But that’s only if it’s essential to either achieve high throughput with concurrency or measure performance in nanoseconds vs microseconds.