In part I, it is discussed how to serve an R function with plumber, Rserve and rApache. In this post, the APIs are deployed in a Docker container and, after showing example requests, their performance is compared.
API is an effective way of distributing analysis outputs to external clients. When it comes to API development with R, however, there are not many choices. In this post, serving an R function with plumber, Rserve and rApache is discussed.