Didn't see this under the closed issues tab, so here we go.
I've constructed my networks on Python with sparCC, and saved them as a gephi project. For easier analysis, I want to load them into microeco, for which I need to import them into R and convert them to igraph.
Within gephi, I used the export command to save my individual networks as gexf files. I can open these files without problem with gephi. However, when I try to import them into R using read.gexf I get the following error:
Error in XML::xmlParse(x, encoding = "UTF-8") : empty or no content specified
This is my R code:
NW_bac_psr1 = system.file("bac_psr1.gexf", package = "rgexf")
gephi_bac.psr1 = read.gexf(NW_bac_psr1)
What could be the cause of the error?
Didn't see this under the closed issues tab, so here we go.
I've constructed my networks on Python with sparCC, and saved them as a gephi project. For easier analysis, I want to load them into microeco, for which I need to import them into R and convert them to igraph.
Within gephi, I used the export command to save my individual networks as gexf files. I can open these files without problem with gephi. However, when I try to import them into R using
read.gexfI get the following error:Error in XML::xmlParse(x, encoding = "UTF-8") : empty or no content specified
This is my R code:
NW_bac_psr1 = system.file("bac_psr1.gexf", package = "rgexf")gephi_bac.psr1 = read.gexf(NW_bac_psr1)What could be the cause of the error?