Hi, no, they are not compatible. igraph 0.6 indexes vertices and edges from 1, whereas 0.5.x indexes vertices and edges from zero. It is most likely that your code needs to be updated. There were other changes as well.
If you want to keep using your code, you can use the igraph0 package, which is the same as igraph 0.5.x. This way you can also install version 0.6 and use it for new code. Note, however, that using both packages at the same time is tricky because the function names are mostly the same, and some of the generic functions defined in version 0.6. So double check your results if you need to load both packages at the same time. Best, Gabor On Sat, Sep 8, 2012 at 3:21 PM, Guilherme Ferraz de Arruda <[email protected]> wrote: > Hi all, > I use the igraph 0.5.4. I'm thinking about update to the 0.6 version, > but I need to know if this two versions are compatible. May I need to > change my old sorce codes? Is this changing really necessary? > Thanks a lot. > > Guilherme. > > _______________________________________________ > 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
