igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] using igraph to calculate PageRank


From: Tamas Nepusz
Subject: Re: [igraph] using igraph to calculate PageRank
Date: Fri, 03 Jun 2011 15:00:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

Hello Ana,

Thanks for the bug report, I'm investigating it right now. You can follow
the progress of the issue here:

https://bugs.launchpad.net/igraph/+bug/792352

-- 
Tamas

On 06/02/2011 06:52 PM, Ana Sofia Morais wrote:
> Hello,
> 
>  
> 
> I am having problems using igraph in order to calculate the weighted form of
> PageRank for the nodes in a weighted graph. Here is the code I am using.
> 
>  
> 
> library(igraph)
> 
> m <-
> matrix(c(0,0,0,0,0,4,0,0,0,0,0,0,0,0,5,0,0,0,5,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,4,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,0,0,0,0,0,0),
> nrow=9, ncol=9)
> 
> tm <- t(m)
> 
> net = graph.adjacency(tm, mode="directed", weighted=TRUE)
> 
> prt = page.rank (net, directed = TRUE, damping = 0.85, weights = NULL)$ vector
> 
>  
> 
> R returns the following error message:
> 
>  
> 
> Error in page.rank(net, directed = TRUE, damping = 0.85, weights = NULL) :
> 
>   At arpack.c:586 : ARPACK error, Unknown ARPACK error
> 
>  
> 
> However, this problem does not occur when matrix  /m/ is not transposed.
> 
>  
> 
> I would be thankful for any suggestions on how to solve this problem.
> 
>  
> 
> With best wishes,
> 
>  
> 
> Sofia
> 
>  
> 
> 
> 
> _______________________________________________
> 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]