Hello List,

I am using R 2.11.1 on a Macbook Pro.

R version 2.11.1 (2010-05-31)
[R.app GUI 1.34 (5589) x86_64-apple-darwin9.8.0]

Following steps on another thread:

http://permalink.gmane.org/gmane.comp.lang.r.geo/9480

I upgraded to raster 1.6-16 from 1.5-16 so that I could perform some
of the steps there.

Now, when I try to write out a GeoTiff:

r3 <- writeRaster(r1, filename='MOD_extent_test1.tif', type = "GTiff")

I get:
Error in .stopGDALwriting(x) : object 'nl' not found

The Geotiff appears to be written, and is plottable and viewable in
QGIS, but it is half the size in MB (61.2 mb) of the original that was
read in:

r1 <- raster('MOD13Q1.A2005225.h20v11.mosaic.NDVI.tif')  # 131.4 mb

I tried upgrading rgdal (to rgdal_0.6-27) just in case that helped the problem:

setRepositories(ind=1:2)
install.packages("rgdal")

But it remains the same.

Does anyone know what might be throwing this error?

Many thanks, Lyndon






-- 
Lyndon Estes
Research Associate
Woodrow Wilson School
Princeton University
+1-609-258-2392 (o)
+1-609-258-6082 (f)
+1-202-431-0496 (m)
les...@princeton.edu

_______________________________________________
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