title: How to read CSV files in a loop?
body: <p>I am new to R and now I have an issue while I try to read CSV files in a loop. My CSV files are named as </p>
  
  <pre><code>result_file_1.csv , result_file_2.csv,....result_file_10.csv
  </code></pre>
  
  <p>So I planned to read a CSV by the below code:</p>
  
  <pre><code>for(i in 1:10){
  t1=read.csv("result_file_i.csv")
  // rest of my code
  }
  </code></pre>
  
  <p>I also tried:</p>
  
  <pre><code>for(i in 1:10){
      t1=read.csv("result_file_"+i+".csv")
      // rest of my code
      }
  </code></pre>
  
  <p>both did not work. Any help is appreciated</p>