title: Output of R script is hidden in the console
body: <pre><code>z &lt;- 5
  count &lt;- 0
  while(z &gt; 0 &amp;&amp; z &lt; 10){
      X=rbinom(1,1, 0.5)
      if(X == 1)
      {
          z &lt;- z+1
      } 
      else if(X == 0)
      {
          z &lt;- z-1
      }
      count &lt;- count+1
      }
  print(count)
  </code></pre>
  
  <p>Hi, this is my R script. I was wondering why when I type in:</p>
  
  <blockquote>
    <p>source ('filename.R')</p>
  </blockquote>
  
  <p>,there is no output in the console. But when I run another R script:</p>
  
  <pre><code>x &lt;- 1:10
  print(x)
  </code></pre>
  
  <p>it prints to the console.</p>
  
  <p>I'm using Rx64 3.0.2. Thank you.</p>