Suggestions needed for building R server REST API's that I can call from external app?

后端 未结 2 713
醉酒成梦
醉酒成梦 2020-12-24 14:14

I\'ve seen lots of articles about consuming data in R from other RESTful API services, but I have really struggled to find any articles about the reverse. I\'m interested i

2条回答
  •  情深已故
    2020-12-24 15:04

    node-rio provides a way to talk to rserve (a TCP/IP server that allows the use of R functions) from node.js.

    Here is an example of use (from the documentation):

    var rio = require('rio');
    rio.evaluate("as.character('Hello World')");
    

提交回复
热议问题