Robert,

Maybe it's because I'm behind a proxy?

2012/2/9 Robert J. Hijmans <r.hijmans@gmail.com>

> Mathieu,
> This works for me. Apparently something went wrong with the download:
> "taille téléchargée 270471 != taille déclarée 200". But why?
> Robert
>
> On Tue, Feb 7, 2012 at 4:39 AM, Mathieu Rajerison <
> mathieu.rajerison@gmail.com> wrote:
>
>> Hi,
>>
>>
>> I'm trying to use gmap function from dismo.
>>
>> I apply the example but it gives me an error message 'Cannot create a
>> RasterLayer object from this file.'
>>
>> > library(dismo)
>> > e = extent( -121.9531 , -120.3897 , 35.36 , 36.61956 )
>> > r = gmap(e)
>> Erreur dans .rasterObjectFromFile(x, band = band, objecttype =
>> "RasterLayer", :
>> Cannot create a RasterLayer object from this file.
>> De plus : Message d'avis :
>> In download.file(gurl, filename, mode = "wb", quiet = TRUE) :
>> taille téléchargée 270471 != taille déclarée 200
>>
>> Any help would be greatly appreciated!
>>
>>
>> Thanks,
>>
>> Mathieu
>>
>>        [[alternative HTML version deleted]]
>>
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>>
>

	[[alternative HTML version deleted]]

