I have used ?unzip in the past to get at contents of a zipped file using R. This time around, I am having a hard time extracting the files from a .gz file whic
?unzip
To un-gz a file in R you can do
library(R.utils) gunzip("file.gz", remove=FALSE)
or
gunzip("file.gz")
But then you get the default (remove=TRUE) behavior in which the input file is removed after that the output file is fully created and closed.