title: sh: Rscript: command not found
body: <p><code>Rscript</code> doesn't work when calling it from a <code>Python</code> script in <code>PyDev</code>. </p>
  
  <p>Here's the guilty code:</p>
  
  <pre><code>os.system("Rscript --vanilla test.R")
  </code></pre>
  
  <p>And the error:</p>
  
  <pre><code>sh: Rscript: command not found
  </code></pre>