On Mon, 12 Feb 2018 15:41:36 +0100, Greta Romano wrote:
> Dear igraph staff,
> I'am Greta, a PhD student. I'm trying to install igraph on Rstudio but
> I have several errors in the log during the installation. I tried to
> install the most recent version of igraph through
> install.packages("igraph") but I obtain this error:
> foreign-graphml.c: In function ‘igraph_write_graph_graphml’:
> foreign-graphml.c:1408:46: error: expected ‘)’ before
> ret=fprintf(outstream, "<graphml xmlns=\"" GRAPHML_NAMESPACE_URI
> "\"\n"); ^~~~~~~~~~~~~~~~~~~~~
> foreign-graphml.c:1412:59: error: expected ‘)’ before
You could try to replace the file foreign-graphml.c with the latest version at
https://github.com/igraph/igraph/blob/master/src/foreign-graphml.c (click 'Raw'
to see the plain file for easy download) which contains an amendment regarding
this kind of compilation error.
igraph-help mailing list