title: R igraph rename vertices
body: <p>Is there a possibility to rename the vertices in an igraph. I want to plot a certain graph multiple times with different notation on the vertices. Given the following igraph az:</p>
  
  <pre><code>&gt; az
  IGRAPH DN-- 24 23 -- 
  + attr: name (v/c), label (v/c), color (v/c), fill (v/c), width (e/n)
  </code></pre>
  
  <p>with</p>
  
  <pre><code>&gt; V(az)
  Vertex sequence:
   [1] "x1"  "x2"  "x3"  "x4"  "x5"  "x7"  "x8"  "x9"  "x10" "x11" "x12" "x13"
  [13] "x14" "x15" "x16" "x19" "x20" "x21" "x22" "x23" "x24" "x25" "x26" "x27"
  </code></pre>
  
  <p>I want to change the vertices into, lets say to y1-y27
  However, </p>
  
  <pre><code>V(az)$name &lt;- paste("y",1:27,sep="")
  </code></pre>
  
  <p>is not working. How can I achieve this?
  Thanks in advance.</p>
  
  <p>Cheers</p>
  
  <p>EDIT: 
  For the record. </p>
  
  <pre><code>V(az)$name &lt;- paste("y",1:27,sep="")
  </code></pre>
  
  <p>works in that way, so that it returns:</p>
  
  <pre><code> &gt; V(az)
      Vertex sequence:
       [1] "y1"  "y2"  "y3"  "y4"  "y5"  "y7"  "y8"  "y9"  "y10" "y11" "y12" "y13"
      [13] "y14" "y15" "y16" "y19" "y20" "y21" "y22" "y23" "y24" "y25" "y26" "y27"
  </code></pre>
  
  <p>However, plot(az) stills return the graph with the x nodes</p>