Re: R-beta: Need Help Uncompressing Source

Douglas Bates (bates@stat.wisc.edu)
07 Oct 1997 16:33:53 -0500


To: "John vanVlaanderen" <johnvv@hotmail.com>
Subject: Re: R-beta: Need Help Uncompressing Source
From: Douglas Bates <bates@stat.wisc.edu>
Date: 07 Oct 1997 16:33:53 -0500
In-Reply-To: "John vanVlaanderen"'s message of Tue, 07 Oct 1997 14:07:33 PDT

"John vanVlaanderen" <johnvv@hotmail.com> writes:

> Simple enough question, what kind of file is it?

$ file R/src/base/R-0.50-a4.tgz 
R/src/base/R-0.50-a4.tgz: gzip compressed data, deflated, last modified: Tue Sep  9 21:30:21 1997, os: Unix

This just shows that it is gzip'd.  When you run gunzip on it the file
that is created is a "tar" file.  The .tgz extension came from people
getting tired of writing a .tar.gz extension.

If you have the GNU version of tar, you can expand the source
directory tree with
 tar zxf R-0.5-a4.tgz
Otherwise you have to use a two-step method of gunzip'ing it first
then running tar on the result.  That is
 gunzip R-0.50-a4.tgz
 tar xf R-0.50-a4.tar
A third alternative is
 gzip -d -c R-0.50-a4.tgz | tar xf -
-- 
Douglas Bates                            bates@stat.wisc.edu
Statistics Department                    608/262-2598
University of Wisconsin - Madison        http://www.stat.wisc.edu/~bates/

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=