title: Splitting a large data frame into smaller segments
body: <p>I have the following data frame and I want to break it up into 10 different data frames. I want to break the initial 100 row data frame into 10 data frames of 10 rows. I could do the following and get the desired results.</p>
  
  <pre><code>df = data.frame(one=c(rnorm(100)), two=c(rnorm(100)), three=c(rnorm(100)))
  
  df1 = df[1:10,]
  df2 = df[11:20,]
  df3 = df[21:30,]
  df4 = df[31:40,]
  df5 = df[41:50,]
  ...
  </code></pre>
  
  <p>Of course, this isn't an elegant way to perform this task when the initial data frames are larger or if there aren't an easy number of segments that it can be broken down into.</p>
  
  <p>So given the above, let's say we have the following data frame.</p>
  
  <pre><code>df = data.frame(one=c(rnorm(1123)), two=c(rnorm(1123)), three=c(rnorm(1123)))
  </code></pre>
  
  <p>Now I want to split it into new data frames comprised of 200 rows, and the final data frame with the remaining rows. What would be a more elegant (aka 'quick') way to perform this task.</p>