Stefan,

Correct. However I have a large number of tar files to download (with several zip files in each) - so doing it manually is going to be somewhat difficult.

I may have to package this code for other users and if possible, would only like to use R for these operations. 

thanks for the reply!



----- Original Message ----
From: Stefan Grosse <singularitaet@gmx.net>
To: r-help@r-project.org; Paul Evans <p.evans48@yahoo.com>
Sent: Tuesday, March 18, 2008 1:57:46 PM
Subject: Re: [R] download.file()

On Tuesday 18 March 2008 06:32:18 pm Paul Evans wrote:
PE> Also, is there a method/package (in R) with which I can unpack a tar file
PE> programatically? 

I guesses that question when I saw your tar file. Not that you not only need 
to un-tar but also to un-zip then several other files in that tarball.

Counter-question: is it necessary that you do all that from within R? You 
could manually download, untar/unzip and then read the data that will be your 
next problem: the files have different names and some other information then 
just a table ... 

So unless you want to extract a lot of separate tables I think it is easier to 
do it manually.

Stefan

-- 
Microeconomics
University of Erfurt






      ____________________________________________________________________________________
Be a better friend, newshound, and 

	[[alternative HTML version deleted]]

