igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] R igraph: vertex IDs starting at 1 now?


From: Narayanan, Manikandan (NIH/NIAID) [E]
Subject: Re: [igraph] R igraph: vertex IDs starting at 1 now?
Date: Fri, 21 Jun 2013 19:55:02 +0000

Thank you very much Tamas! I am sorry, I should've looked more carefully - I 
was looking at the NEWS file all the way till 0.6.4 but should've gone one 
version below that as you've noted. 

Yes, igraph0 would work well with my old codes.


Cheers, 
Mani


-----Original Message-----
From: Tamás Nepusz [mailto:address@hidden 
Sent: Friday, June 21, 2013 3:44 PM
To: Help for igraph users
Subject: Re: [igraph] R igraph: vertex IDs starting at 1 now?

>   Could you please confirm if this change is intentional?
Yes, this is intentional.

>   I tried looking in the release notes but couldn't find anything about this. 
> If this change is not intentional, I would like to debug what is going on 
> with my installation of the latest version.
You would have had to go back all the way to version 0.6 to find the relevant 
entry:

http://igraph.sourceforge.net/relnotes-0.6.html

(See the "Numbering from 1 in R" section)

If you have lots of old code that relied on vertices being indexed from zero 
and you do not have time to re-write them, you can install the "igraph0" 
package which uses zero-based indexing, but note that this is not going to be 
updated any more.

All the best,
Tamas


_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



reply via email to

[Prev in Thread] Current Thread [Next in Thread]