title: Index and sublist a list
body: <p>i have a list with 150 elements. I want to retrieve just the elements with index <em>(1 2 11 12 21 22 31 32 41 42 51 52 61 62 71 72 81 82 91 92 101 102 111 112 121 122 131 132 141 142)</em> and then i want to get 15 sublist of them. (like with 1 and 2, 11 and 12 etc.)</p>
  <p>How could i do that?</p>
  <pre><code>&gt; values[1:5]
  [[1]]
  [1] 7.168749
  
  [[2]]
  [1] 5.715637
  
  [[3]]
  [1] 0.4676287
  
  [[4]]
  [1] 2.933335
  
  [[5]]
  [1] 54.53099
  
  &gt; length(values)
  [1] 150
  </code></pre>