title: How to print an certain amount of rows from a read.table in R Studio
body: <pre><code>da=read.table("m-ibm6708.txt",header=T)  #&lt;== Load data with header
  
  #&lt;== Check dimension of the data (row = sample size, col = variables)
  ###############502 rows, col 1 = date, col 2 = ibm, col 3 = sprtn
  #&lt;== Print out the first 6 rows of the data object "da".
  printrows &lt;- da[1:6]
  printrows    
  </code></pre>
  
  <p>The print rows didn't work. I tried a bunch of things. I think it might use cbind. da is a big table, but I only need the first 6 rows displayed.</p>