Dear Tim, Thanks a lot for the information. I was literally breaking my head to understand the reason behind it.
Regards, Partha Sarathi Das RA, Bioinformatics Infrastructure Facility, Vidyasagar University, Midnapore, India Mobile : +91 98 31 32 32 32 On Thu, Jul 4, 2013 at 4:16 PM, Tim Elrick < [email protected]> wrote: > Dear Parta Sarathi Das, > > As far as I understand iGraph for R, iGraph changed it's definition in > some version so there are two packages in R now: igraph0 which starts the > counting with 0 and igraph which start the counting with 1. > > Cheers, > > Tim > > Am 04.07.2013 11:10, schrieb P S Das: > >> Dear All >> Suddenly im finding a silly error in igraph >> and i am not able to understand why its showing so >> *g <- graph( c(0,1, 1,2, 3,4, 5,6) )* >> >> >> Error in graph(c(0, 1, 1, 2, 3, 4, 5, 6)) : >> At structure_generators.c:84 : Invalid (negative) vertex id, Invalid >> vertex id >> >> but if i put >> g <- graph( c(1,2, 3,4, 5,6) ) >> > g >> IGRAPH D--- 6 3 -- >> doesnot give any error >> so far i know the vertices in igraph starts from 0. >> I am using R version 2.15.3 and i graph version 0.6.5-2 >> Regards, >> Partha Sarathi Das >> >> RA, >> Bioinformatics Infrastructure Facility, >> Vidyasagar University, >> Midnapore, India >> >> Mobile : +91 98 31 32 32 32 >> >> >> ______________________________**_________________ >> igraph-help mailing list >> [email protected] >> https://lists.nongnu.org/**mailman/listinfo/igraph-help<https://lists.nongnu.org/mailman/listinfo/igraph-help> >> >> > ______________________________**_________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/**mailman/listinfo/igraph-help<https://lists.nongnu.org/mailman/listinfo/igraph-help> >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
