title: Read multiple .tsv files in a loop in R
body: <p>I am working on simplifying my script and would like to use some for loops. Right now I am reading in the following five .tsv files independently. I would like to write a loop which reads each one and assigns it a variable name in sequential order starting from 2008 and ending in 2012. These files are saved in a folder that contains other files that are not important for this step. Any ideas? Thank you.</p>
  <pre><code>t2008 &lt;- read.table(file = './T2008.tsv', sep = '\t', header = TRUE)
  t2009 &lt;- read.table(file = './T2010.tsv', sep = '\t', header = TRUE)
  t2011 &lt;- read.table(file = './T2009.tsv', sep = '\t', header = TRUE)
  t2010 &lt;- read.table(file = './T2011.tsv', sep = '\t', header = TRUE)
  t2012 &lt;- read.table(file = './T2012.tsv', sep = '\t', header = TRUE)
  </code></pre>