Re: [R-sig-Geo] how to work with useFancyQuotes( ) to avoid \ quotes

2009-07-15 Thread Jaime R. Garcia Marquez
Try this: options(useFancyQuotes = F) print(paste(OPTIONS COORDSYS(, dQuote(Surface 1), AS COMPONENT); ),quote=F) HTH, Jaime -R On Wed, 15 Jul 2009 13:15:32 +0200, Paulo E. Cardoso pecard...@netcabo.pt wrote: I need to get the exact sentence, with the quotes: OPTIONS

Re: [R-sig-Geo] still struggling with FTP download on MODIS

2009-07-15 Thread Tomislav Hengl
4244 (20090715) __ The message was checked by ESET Mail Security. http://www.eset.com ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo T. Hengl http://spatial-analyst.net

Re: [R-sig-Geo] how to work with useFancyQuotes( ) to avoid \ quotes

2009-07-15 Thread Paulo E. Cardoso
It seems to works fine! Thanks Paulo E. Cardoso -Mensagem original- De: Jaime R. Garcia Marquez [mailto:jaime.gar...@uni-bonn.de] Enviada: quarta-feira, 15 de Julho de 2009 12:32 Para: Paulo E. Cardoso; r-sig-geo@stat.math.ethz.ch Cc: r-h...@r-project.org Assunto: Re:

Re: [R-sig-Geo] split SpatialPolygon after unionSpatialPolygons()

2009-07-15 Thread Roger Bivand
On Tue, 14 Jul 2009, pecardoso wrote: I've used unionSpatialPolygons to dissolve polygons and get a grid as a spatialpolygon. A simple example: grelha-readGDAL(paste(C:/...,teste.bmp,sep=)) Please only use examples that refer to a publically available data set. grd - slot(grelha, grid)

[R-sig-Geo] Error in simulation R-code

2009-07-15 Thread Steve Hong
Dear List, I have got error message when I run the R-code. Can anyone has a suggestion? v.code - df.bm7[,c(10:31)]; v.code[1:3,] names(v.code) CM = v.code # variable binomial code sim.sp - function(data,CM,n,N) { C - matrix(rep(NA,N),ncol=1) for(i in 1:N) { j - n xx -

[R-sig-Geo] Error in simulation R-code

2009-07-15 Thread Steve Hong
Dear List, I have got error message when I run the R-code. I guess this happened when observation(s) has no neighborhood at specified distance. Is there any way/R-code to ignore one without neighborhood and proceed the simulation? v.code - df.bm7[,c(10:31)]; v.code[1:3,] names(v.code) CM =

[R-sig-Geo] Error in simulation R-code

2009-07-15 Thread Steve Hong
Dear List, I have got error message when I run the R-code. Can anyone has a suggestion? v.code - df.bm7[,c(10:31)]; v.code[1:3,] names(v.code) CM = v.code # variable binomial code sim.sp - function(data,CM,n,N) { C - matrix(rep(NA,N),ncol=1) for(i in 1:N) { j - n xx -

Re: [R-sig-Geo] Error in simulation R-code

2009-07-15 Thread Roger Bivand
On Wed, 15 Jul 2009, Steve Hong wrote: Dear List, I have a question about simulation code. Here are the code and error message. sim.sp - function(data,CM,n,N) + { + C - matrix(rep(NA,N),ncol=1) + for(i in 1:N) + { + j - n + xx - which(colSums(CM[j,])==1) + V - names(xx) + V - paste(V,

Re: [R-sig-Geo] Error in simulation R-code

2009-07-15 Thread Steve Hong
First I apologize all of you for annoying messages. Since I did not receive the mail I sent, I thought there might be some errors. On Wed, Jul 15, 2009 at 5:13 PM, Roger Bivand roger.biv...@nhh.no wrote: On Wed, 15 Jul 2009, Steve Hong wrote: Dear List, I have a question about simulation