Site icon R-bloggers

Introducing RevoDeployR: Web Services for R

[This article was first published on Revolutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Today, Revolution Analytics announced another add-on to R as part of Revolution R Enterprise. RevoDeployR is a Web Services framework for R, designed to make it easy to scalably and securely integrate computations done in R into other applications like spreadsheets and web pages.

The idea is simple: as an R programmer, you can create a script in R and then publish it to the RevoDeployR server. To make things easy for integration, you'll define the interface to the script in terms of well-specified inputs (akin to  function arguments) and outputs (data, files, graphics). You can use all of the features of R (and extensions like CRAN packages) in the script to implement any calculation you want: grab data from a database (or from one of the supplied inputs), build a statistical model, return forecasts, generate a chart.

Then, it's over to an application developer to integrate your R code into an application. (Of course, if you're a crack API/web services programmer you can do this part, too, but we'll assume different people are doing the R programming and the integration development.) The application developer will use the extension language of the target application: .NET for Microsoft Excel, JavaScript for Jaspersoft, etc. to extend it to call out to RevoDeployR, using the developer libraries provided with RevoDeployR. How the interface looks and behaves is completely up to the developer (within the limits of the target application, anyway): there could be buttons, fields, and file choosers to control the inputs to the R script, and the outputs can be embedded in the application in a data grid, file download, or chart.

From the point of view of the application user, all of this happens invisibly, behind the scenes. There might be a new control, or menu item in the application they've been using for years, and there's some new information (based on some fancy statistical analysis created by the Research folks down the hall) to make decisions with, but other than that everything's as before. The user is most likely unaware that their application is now making RESTful API calls to a remote RevoDeployR server via the web, or even that R is involved at all. And that's a good thing: now, more people can benefit from the power of R, even if they don't know R themselves.

If you want to learn more about RevoDeployR, check out this white paper by Joseph Rickert. I'll also be giving a webinar about RevoDeployR in conjunction with Jaspersoft next Wednesday. Finally, you can see an overview of RevoDeployR and some demonstrations of applications using RevoDeployR in this YouTube video, embedded after the jump.

Revolution Analytics: RevoDeployR — Application Integration, Deployment and Administration for R

< embed allowfullscreen="true" allowscriptaccess="always" height="385" src="https://www.youtube.com/v/fZtXv2ul8Ew?fs=1&hl=en_US&rel=0&hd=1" type="application/x-shockwave-flash" width="450">

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.