I have a follow up question regarding moving old (R <2.4) sp objects to 
R 2.4. It is indeed easy using GRASS as an intermediary with spgrass6. 
But one of my students has installed GRASS with the QGIS interface 
rather than running GRASS under Cygwin. He wanted to do the same.

I tried with him and quickly got R to communicate with GRASS by simply 
changing the first lines of system to read .....

function (command, intern = FALSE, wait = TRUE, input = NULL,
    show.output.on.console = TRUE, minimized = FALSE, invisible = FALSE)
{
command<-paste(Sys.getenv("COMSPEC"),"/c",command)

etc}

But we still couldn't get spgrass6 to import and export raster layers 
even after fiddling with the code to get rid of cygpath etc. Perhaps 
Roger has a fix? It would be useful.

Also while posting, can anyone suggest a way of measuring the closest 
distance between disjunct polygons in R (forest fragments)? Its easy to 
use centroids in spdep, but we were interested in the distances between 
the edges.

Duncan


-- 
Dr Duncan Golicher
Ecologia y Sistematica Terrestre
Conservación de la Biodiversidad
El Colegio de la Frontera Sur
San Cristobal de Las Casas, 
Chiapas, Mexico

Email: [EMAIL PROTECTED] 

Tel: 967 674 9000 ext 1310
Fax: 967 678 2322

United Kingdom Skypein; 020 7870 6251
Skype name: duncangolicher

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to