Hi, impossible to say for sure without your data, but note that the default for the 'mode' argument is different for shortest.paths and get.shortest.paths.
Gabor On Mon, Dec 16, 2013 at 3:15 AM, <[email protected]> wrote: > > Hi, > I have encountered strange behavior using igraph in R. > shortest.paths command returns correct results, get.shortest.paths returns > warning and no results. > >> shortest.paths(g,v=2795,to=2839) # corect > [,1] > [1,] 3930.4 >> get.shortest.paths(g,from=2795,to=2839) # warning and no results > [[1]] > numeric(0) > > Warning message: > In get.shortest.paths(g_novy, from = 2795, to = 2839) : > At structural_properties.c:5296 :Couldn't reach some vertices > > Does anyone know, whats the problem? > > Thanks, > Zbynek > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
