title: Import weighted edgelist using igraph
body: <p>I have the following txt file representing a network in edgelist format.</p>
  
  <p>The first two columns represent the usual: which node is connected to which other nodes</p>
  
  <p>The third column represents weights, representing the number of times each node has contacted the other.</p>
  
  <p>I have searched the <code>igraph</code> documentation but there's no mention of how to include an argument for weight when importing standard file formats like txt.</p>
  
  <p>The file can be accessed from <a href="https://dl.dropbox.com/u/22681355/OClinks_w.txt" rel="noreferrer">here</a> and this is the code I've been using:</p>
  
  <pre><code>read.graph("Irvine/OClinks_w.txt", format="edgelist")
  </code></pre>
  
  <p>This code treats the third column as something other than weight.</p>
  
  <p>Does anyone know the solution?</p>