title: paste character limit
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/13059083/why-and-where-are-n-newline-characters-getting-introduced-to-c">Why and where are \n newline characters getting introduced to c()?</a>  </p>
  </blockquote>
  
  
  
  <p>I am running <code>R</code> (version 2.15.1) in a <code>bash</code> shell (version 4.2.36(1)) in the GNOME terminal (version 3.4.1.1). Sometimes I write my code in a text file and then paste it directly into the console (when running <code>R</code>). I didn't have any problems until the scripts I was pasting grew in length. Now, it appears that any code greater than 4206 characters (including <code>\n</code>) is rejected (i.e., the first 4206 characters are accepted and the remaining code is truncated; the truncation is accompanied by the terminal "bell" sound). This character limit is not specific to <code>bash</code> or GNOME terminal because I do not observe a character limit when pasting into e.g., <code>vi</code>. Therefore, I suspect that the character limit is imposed by <code>R</code>, but do not know how to change it, assuming it is a user-configurable parameter. Can the paste limit be changed and if so, what parameter governs it?</p>