title: Script not displaying output
body: <p>I'm trying to write a simple script. I want to ask for inputs and then calculate a power.t.test.</p>
  <pre><code>numberoftests &lt;- as.numeric(readline(prompt=&quot;Number of samples? &quot;))
  rangedata &lt;- as.numeric(readline(prompt=&quot;Range? &quot;))
  Sdev &lt;- as.numeric(readline(prompt=&quot;Standard deviation? &quot;))
  P&lt;- power.t.test(n=numberoftests,delta=rangedata,sd= Sdev,power=NULL)
  </code></pre>
  <p>And then this is the output I get</p>
  <pre><code>&gt; source('~/R/power.R')
  Number of samples? 2
  Range? 0.10
  Standard deviation? 0.07
  &gt; 
  &gt; 
  &gt; 
  </code></pre>
  <p>If I set the formula as a variable I can see it in the environment window, so I know it's calculating.
  How do I get the results to display?</p>