[R-sig-Geo] Writing a rasterBrick into a single NetCDF file

2012-11-27 Thread Mark Payne
Hi, I have a rasterStack with several layers. I would like to write this into a single NetCDF file, where each layer is stored as a variable. Is there anyway that this can be done? At the moment (raster 2.0-31), the layers are written as a third dimension, rather than than as separate variables.

Re: [R-sig-Geo] Adehabitat crashed R on MacOS 2.15.2

2012-11-27 Thread epi
did you tried to install XQuartz ? http://xquartz.macosforge.org/landing/ --Massimo. Il giorno 27/nov/2012, alle ore 09:00, Els Ducheyne eduche...@avia-gis.be ha scritto: Dear list I am trying to run ENFA for presence only records. I have installed adehabitat v1.18.11 on R2.15.2 on MacOS

Re: [R-sig-Geo] Adehabitat crashed R on MacOS 2.15.2

2012-11-27 Thread Els Ducheyne
Dear Massimo I've just tried and it is still the same problem. Should I put it somewhere for R to find this? Best Els On 27 Nov 2012, at 15:03, epi massimodisa...@gmail.com wrote: did you tried to install XQuartz ? http://xquartz.macosforge.org/landing/ --Massimo. Il giorno

Re: [R-sig-Geo] Adehabitat crashed R on MacOS 2.15.2

2012-11-27 Thread Els Ducheyne
Dear Massimo yes it works from command line, I do get a warning about the tcl tk though, so indeed this must be the source of the problem (see below) The good news is that at least I can carry out the code via the terminal if necessary (even it is not with the R Gui) Still hoping for a fix

Re: [R-sig-Geo] Adehabitat crashed R on MacOS 2.15.2

2012-11-27 Thread rpi
yes is my guess that R binary is looking for the tcltk installed as framework as suggested here : http://cran.r-project.org/bin/macosx/tools/ do you have it installed ? i didn't checked if it works on m. lion because i'm giving a try to there home-brew installation (it uses it's own gfortran

[R-sig-Geo] help with intersecting/aggregating multiple polygons

2012-11-27 Thread Struve,Juliane
Dear list, I have an ESRI shape file with county names and boundaries for Florida, and an ESRI shape file with sea grass cover for Florida. I would like to know the total sea grass cover per county. Hence I would like to identify the intersections of the county polygons with the sea grass