[R-sig-Geo] problems with finding CRAN mirror for gstat [was GDALinfo with unrecognized format...]

2010-07-26 Thread Michael Sumner
On Tue, Jul 27, 2010 at 12:14 PM, Peter Larson wrote: > A ridiculous question, but I am having trouble finding a mirror which has > the gstat package. Any clues? Please don't post off topic - this is not related to the original thread. Here's one: http://cran.ms.unimelb.edu.au/web/packages/gstat

[R-sig-Geo] gstat mirror

2010-07-26 Thread Peter Larson
Forget it, I got it. Pete On 2010/07/26 18:29, Jonathan Greenberg wrote: r-sig-geo'ers: Quick question: is there an easy way to have a flag to tell if a dataset is NOT supported, e.g. when GDALinfo(fname) is in error? I'd like something like "GDALinfo(fname)" to return "FALSE" if its an unsup

Re: [R-sig-Geo] GDALinfo with unrecognized format...

2010-07-26 Thread Peter Larson
A ridiculous question, but I am having trouble finding a mirror which has the gstat package. Any clues? Thanks, Pete ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] GDALinfo with unrecognized format...

2010-07-26 Thread Michael Sumner
You can wrap it in a ?try: f <- "file" #f <- "utm55.tif" info <- try(GDALinfo(f), silent = TRUE) if (inherits(info, "try-error")) { ## do something else stop("no good, file not found: ", f) } else { ## proceed d <- readGDAL(f) } On Tue, Jul 27, 2010 at

[R-sig-Geo] GDALinfo with unrecognized format...

2010-07-26 Thread Jonathan Greenberg
r-sig-geo'ers: Quick question: is there an easy way to have a flag to tell if a dataset is NOT supported, e.g. when GDALinfo(fname) is in error? I'd like something like "GDALinfo(fname)" to return "FALSE" if its an unsupported dataset type. Thanks! --j _

Re: [R-sig-Geo] SpatialGridDataFrame to netCDF via ncdf on Windows

2010-07-26 Thread Andy Bunn
> -Original Message- > From: Robert J. Hijmans [mailto:r.hijm...@gmail.com] > Sent: Friday, July 23, 2010 12:31 PM > To: Andy Bunn > Cc: r-sig-geo@stat.math.ethz.ch > Subject: Re: [R-sig-Geo] SpatialGridDataFrame to netCDF via ncdf on > Windows > > Andy, this should work (it requires RNetC

Re: [R-sig-Geo] Cluster of area whit clustTool?

2010-07-26 Thread Etienne DELAY
Le 26/07/10 20:41, romunov a écrit : > If you have university (or other) access to SpringerLink, I would suggest > getting A beginner's guide to > Rby > Zuur et al (2009). Good resource site are > http://www.rseek.o

Re: [R-sig-Geo] spatial range parameter in ruf.fit (package ruf)

2010-07-26 Thread Tyler Dean Rudolph
Hi John and thanks for the response - I posted the question for the sake of other users, but also because I had written to the developer, Mark Handcock, in the past with no response. Since the example of ruf.fit in the ruf package of R uses data from one individual jay (d412), and since as you say

[R-sig-Geo] Cluster of area whit clustTool?

2010-07-26 Thread Etienne DELAY
Hello everyone I work with GRASS GIS, and arrives on time where I need to do a bit of statistics (aggregated plots clustered) so I turn to R. but I'm a noob. Does someone can give me a hand for me to run? I installed R ... I find a module that area to do what I want clustTool (I hope), but now I do

[R-sig-Geo] spatial range parameter in ruf.fit (package ruf)

2010-07-26 Thread Tyler Dean Rudolph
Two parameters are required in order to fit a Resource Utilization Function to spatial attribute data using ruf.fit, 1) *spatial range* and 2) smoothness (theta). With regard to the spatial range parameter, rho, Marzluff et al. (2004) state this to be the range of spatial dependence in * metres*.

Re: [R-sig-Geo] grid and spatial selection

2010-07-26 Thread Laetitia Blanc
Thank you It works ! I just had to reverse : o = overlay (spcsv2, maillesfrance) i = na.omit (unique(o)) select = maillesfrance[i, ] Now i have to plot the map of france and the cells that are selected on the same plot and that's it. :-) -- View this message in context: http://r-sig-geo.

[R-sig-Geo] plotting populations on a 3D map of elevation data

2010-07-26 Thread Maxime Pauwels
Dear, I'm using spplot to plot populations on a geographic map including GIS elevation data (see the script below). The map is currently in two dimensions, using sp.layout to plot populations. I'd like to do it in 3D to represent differences in elevation among populations. Does anyone know a w

Re: [R-sig-Geo] grid and spatial selection

2010-07-26 Thread Laetitia Blanc
Robert J. Hijmans wrote: > > rgeos is looking very good! This can also be done with 'sp' : > > o = overlay(maillesfrance, spcsv2) > i = na.omit(unique(o)) > select = maillesfrance[i, ] > > plot(select) > It seemed to be easier with sp but actually, it didn't worked. When i asked to R "select