packrat/lib/x86_64-apple-darwin15.6.0/3.6.0/graph/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)
}
    
adnaniazi/krauseNiazi2019Analyses documentation built on June 9, 2019, 7:22 p.m.