title: R referring to elements of a vector in a list of vectors
body: <p>If I have a list with e.g. coordinates in it, how can I refer to the elements of each element of the list individually? </p>
  
  <p><code>coord=list(c(104,1.5),c(144.97,-37.78),c(121.5,25.03))</code></p>
  
  <p>What I'd like to do is something like </p>
  
  <pre><code>for(i in coord){
  print(i[1])
  print(i[2])}
  </code></pre>
  
  <p>The above example doesn't work
  (In practice of course I'll use them to plot something).</p>
  
  <p>The following one does work but I'm trying to see if there is a more elegant 'R' way to do it.</p>
  
  <pre><code>coord=c(c(104,1.5),c(144.97,-37.78),c(121.5,25.03))
  for(i in seq(1,length(coord),2)){
  print(coord[i])
  print(coord[i+1])
  }
  </code></pre>