[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] error while run the example "Creating simple animations"
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] error while run the example "Creating simple animations" |
Date: |
Mon, 17 Sep 2012 11:33:18 -0400 |
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, 何伟 <address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
--
Gabor Csardi <address@hidden> MTA KFKI RMKI