I am trying to download the tar files on the website below

filename<-"
http://rredc.nrel.gov/solar/old_data/nsrdb/1991-2010/SolarAnywhere/x.tar"
where x is one those tar files
I downloaded x using download.file(). But, the file was corrupt. Can
someone help me how to download and untar these files using R.

Thanks,

Alemu

	[[alternative HTML version deleted]]

