[R] How to unzip a .gz file

Clint Bowman clint at ecy.wa.gov
Tue Feb 10 23:06:59 CET 2015


Alexandra,  Although you may not have control over the installation of R, 
2.15.1 is very old and should be upgraded--the current is 3.1.2

Clint Bowman			INTERNET:	clint at ecy.wa.gov
Air Quality Modeler		INTERNET:	clint at math.utah.edu
Department of Ecology		VOICE:		(360) 407-6815
PO Box 47600			FAX:		(360) 407-7534
Olympia, WA 98504-7600

         USPS:           PO Box 47600, Olympia, WA 98504-7600
         Parcels:        300 Desmond Drive, Lacey, WA 98503-1274

On Tue, 10 Feb 2015, Alexandra Catena wrote:

> 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]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>


More information about the R-help mailing list