Thanks for the report, it is indeed because of the 0-based vs. 1-based indexing. I forgot to check the screenshot codes with the new version. We'll take care of this soon: https://bugs.launchpad.net/igraph/+bug/1047183
Best, Gabor On Mon, Sep 17, 2012 at 1:38 AM, 何伟 <[email protected]> wrote: > I'm using igraph 0.6-2 on R 2.14.1. > When I run the example "Creating simple animations" of the screenshots > page (http://igraph.sourceforge.net/screenshots2.html#10), I got this > warning message: > In graph[[9]][[4]][[name]][index] <- value : > number of items to replace is not a multiple of replacement length > > then I press enter, and I got this error message: > Error in delete.edges(g, ebc$removed.edges[seq(length = i - 1)]) : > At iterators.c:1809 : Cannot create iterator, invalid edge id, > Invalid vertex id > > Is this a relic of zero-based indexing? > > Best regards > Evan.Chris.ho > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help -- Gabor Csardi <[email protected]> MTA KFKI RMKI _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
