If I open a tgz archive with gzfile and then parse it using readLines I miss
the initial line of each member of the archive - and also the name of the
file although the archive otherwise complete (but useless!).

 

Is there any way within R to extract both the list of files in a tgz archive
and to extract any one of these files?

 

Clearly I can use zcat and tar on Linux, but I need this to work within the
R environment on Windows!

 

Thanks

 

John James


        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to