Hi there,
I'm a newie in using R to make maps... I used to work with ArcGis but I ran
out of a valid license...

I'm trying to crop the future Worldclim datasets layers which are huge
ascii files (of the whole world at 1km resolution, so they are between
3-4GB each)  to the extent of Mexico using the library (raster).

I used the following code:

>setwd('G:/future_A2a/2020/bccr_bcm2_0_sres_a2_2020s/')
>maask<-  read.asc("C:/xalapa/worldclim_pres/bio01.asc",gz=FALSE)
>mask<-raster.from.asc(maask,projs=NA)
>files <- list.files(pattern='\\.asc$')
>s <- stack(files)
> crop(s, mask)
Error: cannot allocate vector of size 253.2 Mb


I'm using R.2.14.1 on a computer running on Windows XP
Any help that you could provide me would be greatly appreciated,

Cheers,
Rocio

-- 
Dr. Rocio Ponce-Reyes

http://rocioponcereyes.wordpress.com/

(disculpe la falta de acentos en este correo electronico)

	[[alternative HTML version deleted]]

