3 ms·
Plumber is a mature package for building an api in R. https://www.rplumber.io/ https://www.rplumber.io/ For capital P Production use I would still rewrite it
by djhn 2y ago
Plumber is a mature package for building an api in R.
https://www.rplumber.io/ 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.
- kerkeslager 2y agoPlumber 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!
- _Wintermute 2y agoWe 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.
- hadley 2y agoYou might be interested in https://github.com/posit-dev/plumber2 https://github.com/posit-dev/plumber2