title: R: Error in pi[[j]] : subscript out of bounds -- rbind on a list of dataframes
body: <p>I am trying to rbind a large list of data frames (outputDfList), which is generated by lapply a complicated function to a large table. You can recreate outputDfList by:</p>
  
  <pre><code>df1=data.frame("randomseq_chr15q22.1_translocationOrInsertion", "chr15", "63126742")
  names(df1)=NULL
  df2=df1=data.frame("chr18q12.1_chr18q21.33_large_insertion", "chr18 ", "63126741")
  names(df2)=NULL
  outputDfList=list(df1,df2)
  </code></pre>
  
  <p>my code is </p>
  
  <pre><code>do.call(rbind, outputDfList)
  </code></pre>
  
  <p>The error message I received:</p>
  
  <pre><code>Error in pi[[j]] : subscript out of bounds
  </code></pre>
  
  <p>I double checked the column numbers of each dataframes and they are all the same. I also tried to use "options(error=recover)" for debug, but I'm not familiar with it enough to pitch down the exact issue. Any help is appreciated. Thank you.</p>