igraph-help
[Top][All Lists]
Advanced

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

[igraph] silly error im getting in igraph


From: P S Das
Subject: [igraph] silly error im getting in igraph
Date: Thu, 4 Jul 2013 14:40:55 +0530

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

reply via email to

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