title: igraph assign a vector as an attribute for a vertex
body: <p>I am trying to assign a vector as an attribute for a vertex, but without any luck:</p>
  
  <pre><code># assignment of a numeric value (everything is ok)
  g&lt;-set.vertex.attribute(g, 'checked', 2, 3)
  V(g)$checked
  </code></pre>
  
  <p>.</p>
  
  <pre><code># assignment of a vector (is not working)
  g&lt;-set.vertex.attribute(g, 'checked', 2, c(3, 1))
  V(g)$checked
  </code></pre>
  
  <p>checking the manual, <a href="http://igraph.sourceforge.net/doc/R/attributes.html" rel="nofollow">http://igraph.sourceforge.net/doc/R/attributes.html</a>
  it looks like this is not possible. Is there any workaround?</p>
  
  <p>Up till now the only things I come up with are:</p>
  
  <p>store this</p>
  
  <ul>
  <li>information in another structure</li>
  <li>convert vector to a string with delimiters and store as a string</li>
  </ul>