Re: [R] save grid

2011-09-01 Thread Paul Hiemstra
On 09/01/2011 08:34 AM, azam jaafari wrote: > Hi > > I have a problem for saving grid file in R. I want to save a grid file as > "tif". If you want to save a picture (bitmap) of your data, use e.g. the tif() function in such a way: tiff("predict.tif") plot(predict.grid) dev.off() Below you

[R] save grid

2011-09-01 Thread azam jaafari
Hi   I have a problem for saving grid file in R. I want to save a grid file as "tif".   I write this: writeGDAL(predict.grid, 'predict.tif')   after running, I don't recieve any error. But when I want to open the 'file.tif', it doesn't open. for example in paint program: I recieve this: Paint