DEV Community

White Fang
White Fang

Posted on

2 1

PHP and R

I am in trouble
If anyone can help me in building php web form to run R script from this form.
The script output has no argument
It creats excel files

Top comments (1)

Collapse
 
appup profile image
AppUp

You could do this a couple different ways. You could use PHP's exec() function, or you could set up the R script to use Plumber, and run when an API endpoint is hit.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay