RESTful interface to R