The file was compressed in c# with this code:
using (FileStream zipToOpen = new FileStream("myfile.gff", FileMode.Create))
{
using (ZipArchive archive = new ZipArchive(zipToOpen, ZipArchiveMode.Create))
{
ZipArchiveEntry write_entry = archive.CreateEntry(GRALflowfield);
using (BinaryWriter writer = new BinaryWriter(write_entry.Open()))
{
//writing
}
}
}
I know how to read binary in R, but i don't know which decompression should i use. I know that .gff is not important. I tried this, but it gives error back: error 1 in extracting from zip
zipF <- file.choose()
outDir<-paste(getwd(),"/open", sep="")
unzip(zipF , exdir = outDir)