Question:
I'm preparing a project with php and decided to use R for statistical calculations.
However, I have doubts about ways to carry out this integration. Whether there is a "design pattern" for situations like this.
Answer:
You can use the php-r package to integrate the services.