Hi Jorge,

thanks for your report. In order to reproduce this, we would need a graph
for which is.simple(simplify(graph)) is FALSE. Do you have a small example?

Also, closeness or betweenness calculations should not crash R, so if you
have an example graph for that, please share that, too.

If you don't want to send your data to the mailing list, you can send it to
me directly.

Thanks,
Gabor


On Wed, Dec 12, 2012 at 1:52 PM, Jorge Gil <[email protected]> wrote:

> Hi,
>
> I've got an undirected graph that when I calculate closeness or
> betweenness centrality it crashes R without an error message or explanation.
>
> I'm creating the graph using an edges list, and use that exact script with
> other lists and it works. So I guess there must be some problem with the
> graph for that particular set of edges.
>
> Querying 'is.simple(g)' returns FALSE, so that could be the reason for the
> crash?
> But after doing 'simplify(graph, remove.multiple = TRUE, remove.loops =
> TRUE)' I still get FALSE result from is.simple.
> Are there other conditions that make a graph not simple?
>
> Are there special restrictions for graphs to be used in closeness and
> betweenness centrality that I'm forgetting?
>
> Thanks in advance,
> Jorge
>
> --
> Jorge Gil
> PhD Candidate
>
> TU Delft / Faculty of Architecture
> Department of Urbanism
> Chair of Spatial Planning and Strategy
>
> Julianalaan 134
> 2628 BL Delft
> P.O. Box 5043
> 2600 GA Delft
> The Netherlands
>
> www.tudelft.nl
>
>
> ______________________________**_________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/**mailman/listinfo/igraph-help<https://lists.nongnu.org/mailman/listinfo/igraph-help>
>



-- 
Gabor Csardi <[email protected]>     MTA KFKI RMKI
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to