title: 'Rscript' is not recognized as an internal or external command, operable program or batch file
body: <pre><code>shell_exec("Rscript C:\R\R-3.2.2\bin\code.R ");
  </code></pre>
  
  <p>This is the call to script.On calling the above script, the error occurs.</p>
  
  <p>I am trying to call my R script from the above path but no output is being shown. While checking the error logs of PHP, it says 'Rscript' is not recognized as an internal or external command, operable program or batch file.' The script is working fine on the Rstudio but not running on the command line.</p>