title: Iterate through list R
body: <p>Ok, so I try to do the most basic operation, but it seems quite complicated with R. </p>
  
  <p>What I would like to achieve is to iterate through a list. </p>
  
  <p>To acces a particular value within this list, I just need to write:</p>
  
  <pre><code>list.data$V10.csv$Value[2]
  </code></pre>
  
  <p>I would like to replace the V<strong>01</strong> by a variable, so that I can use a loop. </p>
  
  <p>Below is what I try so far:</p>
  
  <pre><code>k &lt;- 10
  test0 &lt;- paste0("V",k)
  test1 &lt;- as.numeric(paste0("V", k))
  </code></pre>
  
  <p>Which will theoretically allow me to access the same value as before by writing:</p>
  
  <pre><code>list.data$test0.csv$Value[2]
  // Or
  list.data$test1.csv$Value[2]
  </code></pre>
  
  <p>And use a loop by only changing the value of <code>k</code>. </p>
  
  <p>But it does not work. How can I do it?</p>
  
  <p>Thanks in advance!</p>