Using R through PHP

前端 未结 3 1101
无人共我
无人共我 2020-12-31 09:09

I\'m relatively new to R and very new to the Linux (Ubuntu) command line. I\'m trying to write a page in PHP that contains a command I would like to execute in R and then pa

3条回答
  •  萌比男神i
    2020-12-31 09:52

    Whatever user apache is running as may not have the same environment variables, or permissions as when you ran it from the shell by hand. Find out what user apache runs as, and make sure it has the right permissions and environment variables.

提交回复
热议问题