How does PHP call R language functions like calling C language functions?

WBOY
Release: 2016-07-06 13:52:26
Original
1746 people have browsed it

How PHP calls R language functions, instead of using the exec or system method to execute them. Instead, it calls a function in the R program.

Reply content:

How PHP calls R language functions, instead of using the exec or system method to execute them. Instead, it calls a function in the R program.

Use RPC middleware to implement, the typical tool is thrift

rpc is the best solution. If the requirements are not high, it is also good to provide a socket or http service

Related labels:
php r
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template