Displaying 1 result from an estimated 1 matches for "rtest_ndvic".
2012 Jul 17
0
Arcgis in R
...port 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
#writeRaster(nat,paste(My.ras.dir))
####E
####S Part 2 do some analysis in ArcGIS-first c...