This is a known issue, see e.g. https://github.com/igraph/rigraph/issues/234
Gabor On Mon, Feb 12, 2018 at 4:02 PM, Jannick <thirdedit...@gmx.net> wrote: > Hi Greta, > > 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 >> ‘GRAPHML_NAMESPACE_URI’ >> ret=fprintf(outstream, "<graphml xmlns=\"" GRAPHML_NAMESPACE_URI >> "\"\n"); ^~~~~~~~~~~~~~~~~~~~~ >> foreign-graphml.c:1412:59: error: expected ‘)’ before >> ‘GRAPHML_NAMESPACE_URI’ > > 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. > > Best, > J. > > > _______________________________________________ > igraph-help mailing list > igraph-help@nongnu.org > https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list igraph-help@nongnu.org https://lists.nongnu.org/mailman/listinfo/igraph-help