title: Run R command from command line
body: <p>Is there a way to run an R command from the command line? Something like</p>
  
  <pre><code>$ R --run '1+1'
  2
  </code></pre>
  
  <p>or even like </p>
  
  <pre><code>$ Rscript &lt; '1+1'
  2
  </code></pre>