[R-sig-Geo] Making GIS and R play nicely - some tips?
abunn
abunn at whrc.org
Wed Mar 2 22:17:24 CET 2005
Hey Tim:
I'm writing the database as we speak which will take awhile but will then be
done. It is going faster than I thought it would. I figured out how to call
arc from the prompt and pass it an aml and variables from R:
aml2pass <- paste('arc "&r make.an.image.aml', which.var, year,
formatC(month, width = 2, flag = 0), '"', sep = "
")
system(aml2pass)
This means that I can write temporary files from arc, process them and clean
up without having a lot of loose ends. So, with that and rgdal, everything
is smooth. I'll leave GRASS for another day (I've been saying that for about
seven years now).
Thanks, A
More information about the R-sig-Geo
mailing list