Re: [R-sig-Geo] help unzipping tiff files compressed with gzip

2010-06-04 Thread Alexandre VILLERS
Dear Michael, For the moment, I found my way with a call to gzip through shell(cmd=paste("C:/gzip -d ", filename, ".gz", sep="")) after installing GZIP.exe at the root of C:  I wasn't able to find the option allowing to keep the original .gz which is otherwise trashed but it is a minor proble

Re: [R-sig-Geo] help unzipping tiff files compressed with gzip

2010-06-04 Thread Michael Sumner
gzfile gives a connection, which readGDAL does not support - you need an actual dataset name that GDAL can understand (not necessarily just a file path btw). I think you will have to extract the tif with shell/system calls to gzip or similar - what OS are you using? Rtools provides a handy gzip th

[R-sig-Geo] help unzipping tiff files compressed with gzip

2010-06-04 Thread Alexandre VILLERS
Good afternoon, I know this not the most appropriate place to post this message but I hope that some of you have already been confronted to the same problem. I have a lot of NDVI tiff files that have been compressed with gzip (filename such as 81jul15a.n07-VIg_data.tif.gz ) and that I need to