title: can't run r script from pycharm
body: <p>I am using pycharm with MAC, I am trying to execute R script even-though I have R compatibility:</p>
  
  <pre><code>#!/usr/bin/env Rscript
  
  lambda = 1.5
  T=4
  nsamp = 8
  </code></pre>
  
  <p>And I get the error:</p>
  
  <blockquote>
  <pre><code>lambda = 1.5
         ^ SyntaxError: invalid syntax
  </code></pre>
  </blockquote>
  
  <p>How to fix it?</p>