inst/GXL/createGraphExamples.R

gxlFiles <- list.files(pattern="graphExample-[0-9]+\\.gxl\\.gz$")
graphExamples <- list()
i <- 1
for (gf in gxlFiles) {
    con <- gzfile(gf, open="rb")
    graphExamples[[i]] <- graph::fromGXL(con)
    i <- i + 1
    close(con)
}
    
vgpprasad91/graph documentation built on May 20, 2019, 2:46 p.m.