Displaying 1 result from an estimated 1 matches for "arcgisscript".
2012 Jul 17
0
Arcgis in R
...:
1) Set up working directory
2)connect to Python
3) import arcgis- however, when I get to the import stage it comes up with
an error saying unexpected symbol.
Is my coding wrong? If so what is the correct coding?
Or do I somehow need to set up something in Arcgis which allows it to
recognise the arcgisscripting command in R?
*This is the code I have used below:*
My.dir<- setwd("C:/RTest_NDVIc")
require(rgdal)
nat <- readGDAL("16-150406_ndvic.img")
# Write the raster as a geotiff
# Give an output name
My.ras.dir <- paste(My.dir,"my_test_raster3.tif")
# Write
#w...