Greta Romano
2018-02-12 14:41:36 UTC
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â
ret=fprintf(outstream, " xsi:schemaLocation=\"" GRAPHML_NAMESPACE_URI "\n");
^~~~~~~~~~~~~~~~~~~~~
foreign-graphml.c:1414:38: error: expected â)â before âGRAPHML_NAMESPACE_URIâ
ret=fprintf(outstream, " " GRAPHML_NAMESPACE_URI "/1.0/graphml.xsd\">\n");
^~~~~~~~~~~~~~~~~~~~~
/usr/lib/R/etc/Makeconf:159: recipe for target 'foreign-graphml.o' failed
make: *** [foreign-graphml.o] Error 1
ERROR: compilation failed for package âigraphâ
* removing â/home/gromano/R/x86_64-pc-linux-gnu-library/3.4/igraphâ
Installation failed: Command failed (1)
Then I also tried to install an older version (1.1.1) but nothing changes.
Can you help me please?
Thank you
Greta Romano
Sent from Mailspring (https://link.getmailspring.com/link/local-7d8f7d1d-711c-v1.1.3-***@gromano/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=igraph-help%40nongnu.org), the best free email app for work
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â
ret=fprintf(outstream, " xsi:schemaLocation=\"" GRAPHML_NAMESPACE_URI "\n");
^~~~~~~~~~~~~~~~~~~~~
foreign-graphml.c:1414:38: error: expected â)â before âGRAPHML_NAMESPACE_URIâ
ret=fprintf(outstream, " " GRAPHML_NAMESPACE_URI "/1.0/graphml.xsd\">\n");
^~~~~~~~~~~~~~~~~~~~~
/usr/lib/R/etc/Makeconf:159: recipe for target 'foreign-graphml.o' failed
make: *** [foreign-graphml.o] Error 1
ERROR: compilation failed for package âigraphâ
* removing â/home/gromano/R/x86_64-pc-linux-gnu-library/3.4/igraphâ
Installation failed: Command failed (1)
Then I also tried to install an older version (1.1.1) but nothing changes.
Can you help me please?
Thank you
Greta Romano
Sent from Mailspring (https://link.getmailspring.com/link/local-7d8f7d1d-711c-v1.1.3-***@gromano/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=igraph-help%40nongnu.org), the best free email app for work