title: summary() gives desired output in R but not Rstudio
body: <p>When I am typing the <code>summary</code> function in R native console it is showing me desired output but when I am using Rstudio it is not.You can see below the output of both. I am using the same data and the same <code>summary</code> command so why?</p>
  
  <p>R native console output-</p>
  
  <pre><code>Region                 
  Midwest  : 30684       
  NorthWest: 25939
  South    : 41502
  west   : 33177
  
  State
  California :11570
  Texas .    : 7077
  Newyork .   : 5595
  others     : 94069
  </code></pre>
  
  <p>Rstudio output-</p>
  
  <pre><code>Region
  Length:131302
  Class  : character
  Mode .  : Character
  
  State
  Length :131302
  Class .: character
  Mode .  : character
  </code></pre>