[R-sig-Geo] Problem closing gdal file

Agustin Lobo Agustin.Lobo at ija.csic.es
Fri Oct 26 12:39:44 CEST 2007


Hi!

After writing a geotif file with
writeGDAL(delme.cl.im,"t1cl100.tif",drivername = "GTiff")

the file seems to remain open, cannot move it or rename it
in the OS

I've tried closing it with
GDAL.close("t1cl100")

but...
Error in slot(dataset, "handle") :
   cannot get a slot ("handle") from an object of type "character"

Is there a better way to solve this problem than just exiting R?

Thanks!

Agus
-- 
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster




More information about the R-sig-Geo mailing list