Re: [R-sig-Geo] Marked PPA, 'rlabel' function in spatstat

2011-11-28 Thread Rolf Turner
Robin! Really!!! ***Look*** at the code for your ``kdid'' function! And look at all those bizarre plus signs!!! They are well, plus signs. They mean ``add''. So you're getting an expression which is syntactically valid, but which is conceptually meaningless. And which does not define a

Re: [R-sig-Geo] Marked PPA, 'rlabel' function in spatstat

2011-11-28 Thread Marcelino de la Cruz
Hi Robin, I bet you are beginning with R ;-) The problem is that you tried to reproduce even the plus signs of the ASPP example. Those '+' signs are printed by R at the begining of new lines to indicate continuation of the code, but you are not suposed to include them in your code. You

Re: [R-sig-Geo] rsaga, radiation, rsaga.pisr

2011-11-28 Thread Alexander Brenning
Dear Melita, I will try to answer your questions, but you will likely get better feedback from the SAGA pros if you post them to the SAGA user forum on sourceforge, see http://sourceforge.net/projects/saga-gis/support Dear saga and rsaga users and developers (Olaf, Alex, Victor..)brbr I ran

Re: [R-sig-Geo] Implementation of algorithms

2011-11-28 Thread Ashton Shortridge
Dear Jorge, there are a lot of ways to do this. In straight R, here's a function designed to work on a matrix of elevation values that I have used for many years. It is very similar to the code you provide: # This function calculates slope for a matrix using the Horn (1981) # method, as

[R-sig-Geo] spplot not using exact xlim and ylim boundaries

2011-11-28 Thread Jonathan Callahan
I am plotting spatial data on transparent backgrounds for overlay on top of a GoogleMaps interface but they aren't *exactly* right. I have set the size of GoogleMaps and my image to 640X640 and I receive bounds information on the current region from the GoogleMaps javascript API. The problem is

Re: [R-sig-Geo] spplot not using exact xlim and ylim boundaries

2011-11-28 Thread Edzer Pebesma
It seems that your question has nothing to do with spplot (which is a method in package sp), as you are using plot(). If the problem is similar to this: plot(1:10,xlim=c(0,11),ylim=c(0,11)) par()$usr [1] -0.44 11.44 -0.44 11.44 then it doesn't have to do anything with plotting map data, and

Re: [R-sig-Geo] spplot not using exact xlim and ylim boundaries

2011-11-28 Thread Jonathan Callahan
Thanks for that hint which pretty much solves my problem. I am passing a spatial object to plot which is why I had thought that spplot was ultimately called. It appears that plot() and its parameters are in charge of setting the plot area no matter what kind of object is passed in. Regards,

[R-sig-Geo] Overlaying rasters in spplot

2011-11-28 Thread Chris Fowler
I am still having trouble with some raster overlays. My trouble now is a result of my not really understanding how layers and sp.layout work in the spplot function I go through a whole mess of steps to get two rasters of identical extent and dimension (One is a google map tile, the other my own

[R-sig-Geo] Failure to call GeoBUGS's car.normal() function from R

2011-11-28 Thread Aquarius
Dear Users, I am trying to do a spatial Poisson-gamma model. I intend to read my data into R then call OpenBugs/GeoBUGS/WinBugs to implement the car.normal function. Here is a copy for my codes: # in R: # do Poisson-gamma spatial models using CAR # y= number of employments x=distance to cbd

Re: [R-sig-Geo] Fwd: Re: Problem creating raster brick (Lyndon Estes)

2011-11-28 Thread Lyndon Estes
Hi Robert, Thanks for the response. I will continue to keep forcing a write to disk to prevent this from occurring. Based on this post, and another earlier in the year, I looked a bit more into other methods for calculating available RAM, at least for Linux and Mac systems. I understand from

[R-sig-Geo] error with gmeta6()

2011-11-28 Thread Jean-Baptiste
Hi listers, I've started spgrass6() with no problems but then get an error with gmeta6() : error in system (syscmd, intern = intern, ignore.stderr = ignore.stderr, : argument(s) inutilisé(s) (ignore.stdout = Sys_ignore.stdout) I'm using R 2.11.1 on ubuntu maverik and just made