RStudio 1.2 Preview: Plumber Integration

This is a companion discussion topic for the original entry at https://www.rstudio.com/blog/rstudio-1-2-preview-plumber-integration


The RStudio 1.2 Preview Release makes it even easier to create RESTful Web APIs in R using the plumber package.
plumber is a package that converts your existing R code to a web API using a handful of special one-line comments.
RStudio 1.2 provides the following plumber-related productivity enhancements:
push-button local server execution for development and testing easy API publishing to RStudio Connect automatic API documentation and interactive execution via Swagger create a new Plumber API project or add an API to an existing directory A full discussion of Web APIs and the plumber package is beyond the scope of this article; for a primer, check out: R Views: REST APIs and Plumber