igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Saving in Pajek with colors with igraph


From: Richard O. Legendi
Subject: Re: [igraph] Saving in Pajek with colors with igraph
Date: Sun, 18 Dec 2011 12:27:55 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

Hi Tamás,

Thanks for the note, placed a report at the link you sent me:

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

All te best,
Richard
--
Richard O. Legendi
PhD Student
Eötvös Loránd University, Faculty of Informatics
Department of Programming Languages and Compilers
http://people.inf.elte.hu/legendi/

On 2011.12.17. 19:37, Tamás Nepusz wrote:
Hi Richard,

I'm trying to figure out how do I save a simple graph in Pajek with defined 
color values. When I try it, I get the following error message:
[...]
I guess I'm having some trivial error here, could you help me a bit?
I think you may have stumbled upon a bug; your code is even worse on Mac OS X:

library(igraph)
g<>  g<- graph.ring(10)
V(g)$color<- "red"
V(g)$color
  [1] "red" "red" "red" "red" "red" "red" "red" "red" "red" "red"
write.graph(g, format="pajek", file="test.net")

  *** caught segfault ***
address 0x8, cause 'memory not mapped'

Traceback:
  1: .Call("R_igraph_write_graph_pajek", graph, file, PACKAGE = "igraph")
  2: write.graph.pajek(graph, file, ...)
  3: write.graph(g, format = "pajek", file = "test.net")

Note that this is 0.6, not 0.5.x, but it looks like the bug has been around for 
a while. Gabor will probably be able to help you with this. Can you please file 
a bug report on https://bugs.launchpad.net/igraph?

Cheers,
Tamas
_______________________________________________
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]