Re: [R-sig-Geo] [plain text] Error: cannot allocate vector of size 274.7 Mb

2012-11-14 Thread Raffaele Morelli
2012/11/13 Mauricio Zambrano-Bigiarini mauricio.zambr...@jrc.ec.europa.eu: On 13/11/12 11:20, Raffaele Morelli wrote: Hi, sorry for double posting but I saw my messages were scrubbed from html garbage and don't know if nobody replies for that, but just in case... apologize if not. I am

Re: [R-sig-Geo] [plain text] Error: cannot allocate vector of size 274.7 Mb

2012-11-14 Thread Raffaele Morelli
2012/11/13 Roman Luštrik roman.lust...@gmail.com: Would it be at all possible if you made your problem reproducible? Cheers, Roman Here follows a link to my script and RData, lines commented are not needed because objects are in the RData http://cen.isprambiente.it/~rmorelli/R/ Regards -r

[R-sig-Geo] asc2dataframe and dataframe2asc problem with ncols nrows and cell size

2012-11-14 Thread Proosdij, Andre van
Dear all, When importing a raster using asc2dataframe and exporting it again using dataframe2asc the number of cols, rows and the cell size changes. In the example I used I get: # original raster has ncols = 7320 and nrows = 4080 and cell size 0.00833 # produced raster has ncols =

Re: [R-sig-Geo] rgdal compile error on RHEL5 [SEC=UNCLASSIFIED]

2012-11-14 Thread twuest
Hi all, I am getting exactly the same error when compiling the latest rgdal (0.7-22) on RHEL5 (CentOS 5.5) using the gdal v1.8.0 RPM from the elgis repository. Could anybody resolve this problem? Thanks, Thomas Here are some specs: gdalinfo --version GDAL 1.8.0, released 2011/01/12 locate

Re: [R-sig-Geo] rgdal compile error on RHEL5 [SEC=UNCLASSIFIED]

2012-11-14 Thread Roger Bivand
On Wed, 14 Nov 2012, twuest wrote: Hi all, I am getting exactly the same error when compiling the latest rgdal (0.7-22) on RHEL5 (CentOS 5.5) using the gdal v1.8.0 RPM from the elgis repository. Could anybody resolve this problem? You are the only person with access to relevant information.

Re: [R-sig-Geo] rgdal compile error on RHEL5 [SEC=UNCLASSIFIED]

2012-11-14 Thread Roger Bivand
On Wed, 14 Nov 2012, twuest wrote: On Wed, 14 Nov 2012, twuest wrote: Hi all, I am getting exactly the same error when compiling the latest rgdal (0.7-22) on RHEL5 (CentOS 5.5) using the gdal v1.8.0 RPM from the elgis repository. Could anybody resolve this problem? You are the only

Re: [R-sig-Geo] asc2dataframe and dataframe2asc problem with ncols nrows and cell size

2012-11-14 Thread Robert J. Hijmans
When asking questions on this list, please provide, whenever possible, an example that is simple, small, reproducible, and _self contained_. That is, the example should not depend on a file that needs to be separately downloaded. In stead create the data in your example; or use data that comes

[R-sig-Geo] Clearing the area outside of a polygon defined on a grid.

2012-11-14 Thread peleve
I have a result from Akima or Loesss interpolation using irregular data defined inside a polygon. I only want the results inside the polygon. Akima interpolates correctly inside the polygon but leaves a blue residue outside the polygon (a result of Akima using a convex hull) that I want to get rid

Re: [R-sig-Geo] Clearing the area outside of a polygon defined on a grid.

2012-11-14 Thread Robert J. Hijmans
I think you can do: x - raster(akima) y - mask( x, SpP[2] ) plot(y) On Wed, Nov 14, 2012 at 10:45 AM, peleve pit...@gmail.com wrote: I have a result from Akima or Loesss interpolation using irregular data defined inside a polygon. I only want the results inside the polygon. Akima