[R] How to unzip a .gz file

Alexandra Catena amc5981 at gmail.com
Tue Feb 10 22:45:05 CET 2015


Hello,

Can someone help me with unzipping a .gz file.  I used:

readLines(gzfile('/home/file.gz'))


I also found that I could use gunzip, but after trying to install it, it
says:

 "package ‘gunzip’ is not available (for R version 2.15.1)"


Thanks,
Alexandra

	[[alternative HTML version deleted]]



More information about the R-help mailing list