title: Executing R script with Python via subprocess.call
body: <p>I have a R script which works fine on its own but I need it to be a part of python script. So, when I run the python script the R script be executed automatically.
  I use the below command; there is no error but the R script output files are not created. </p>
  
  <pre><code>import subprocess
  
  retcode = subprocess.call("C:/Program Files/R/R-3.2.2/bin/Rscript --vanilla T:/2012.R", shell=True)
  </code></pre>
  
  <p>Thank you so much in advance. </p>