I am trying to install igraph package in R.But getting error in the foreign-graphml.c below:
foreign-graphml.c: In function ‘igraph_write_graph_graphml’:
for
I had the same issue. Like the previous poster noted (zwartemond), its a bug in igraph. The owner of the github repo fixed the issue but it will take a while for the package to be updated on CRAN, you'll have to wait for some time(around 2 weeks?).
To install igraph package directly from source use devtools:
install.packages("devtools")
library(devtools)
install_github("igraph/rigraph")
This worked for me.
There is a bug in igraph, check this out: https://github.com/igraph/rigraph/issues/213
I had the saime issue and solved it by typing the following in the terminal
sudo apt-get install libssl-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libxml2-dev