I am trying to use Plumber in R to expose a model through web API. I want the API calls to be secure over https. I tried to find information on implementing secure API using plumber but unfortunately haven't found anything. Does anyone has experience of dong that? Or any other solutions to expose a R model over secure API?
The plumber package allows you to create APIs from your R code. It does this through special comments that give instructions on how to turn the functions in your script into API endpoints. It's pretty amazing — with this package, your R code is easily accessible from other tools and frameworks.
plumber: An API Generator for RGives the ability to automatically generate and serve an HTTP API from R functions using the annotations in the R documentation around your functions. Version: 1.2.1.
plumber is an R package that allows existing R code to be exposed as a web service through special decorator comments. With minimal overhead, R programmers and analysts can use plumber to create REST APIs that expose their work to any number of internal and external systems.
See https://www.rplumber.io/docs/hosting.html for a few different options. DigitalOcean and RStudio Connect would both support this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With