Re: [R-sig-Geo] shapefile errors and kriging limits

2007-08-31 Thread Roger Bivand
On Fri, 31 Aug 2007, Carlos A. Bastos M.Guerra wrote: Dear Roger, Regarding the shapefile question I think it was a memory problem because I had 88000 points and wen I reduced the number of points to half it worked fine. Regarding the second question: thanks for the help and your solution

Re: [R-sig-Geo] shapefile errors and kriging limits

2007-08-31 Thread Carlos A. Bastos M.Guerra
Dear Roger, Regarding the shapefile question I think it was a memory problem because I had 88000 points and wen I reduced the number of points to half it worked fine. Regarding the second question: thanks for the help and your solution almost solves my problems, but I forgot to tell you that I

Re: [R-sig-Geo] shapefile errors and kriging limits

2007-08-30 Thread Roger Bivand
On Thu, 30 Aug 2007, Carlos Guerra wrote: > Dear useRs, > > I am trying to convert the predictions of a kriging model into a > shapefile but I am getting some errors and I am getting nowere with > my solutions... Without the error messages and the output of sessionInfo(), it isn't easy to say.

[R-sig-Geo] shapefile errors and kriging limits

2007-08-30 Thread Carlos Guerra
Dear useRs, I am trying to convert the predictions of a kriging model into a shapefile but I am getting some errors and I am getting nowere with my solutions... This is the code I am running: a <- data.frame(Id=seq(1,length(pred.grid[,1]),1),X=pred.grid[, 1],Y=pred.grid[,2]) a_dbf <- data.f