Home > Article > Backend Development > How does PHP call R language functions like calling C language functions?
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.
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