igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Errors in igraph installation in Rstudio


From: Jannick
Subject: Re: [igraph] Errors in igraph installation in Rstudio
Date: Mon, 12 Feb 2018 17:02:42 +0100

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]