[R-sig-Geo] Basic Info. requried

2010-10-06 Thread Malik Shahzad
I want to read Iknos image and then want to see display in R. Just read and display nothing else. I try using raster package rasterfile-system.file(C:/iknos/edwards_airbase_usa_1m_tc.tif,package=raster) Then plot with the help of this command plot(rasterfile) Error in plot.window(...)

Re: [R-sig-Geo] Basic Info. requried

2010-10-06 Thread Paul Hiemstra
Hi Malik, To a look at the rgdal package to read your tiff file and spplot from the sp package to plot it. cheers, Paul On 10/06/2010 01:36 PM, Malik Shahzad wrote: I want to read Iknos image and then want to see display in R. Just read and display nothing else. I try using raster package

Re: [R-sig-Geo] Basic Info. requried

2010-10-06 Thread kapo coulibaly
I believe there is a mistake in your command. You skipped the raster command itself. From the raster help files here is the correct way: r - raster(system.file(external/test.grd, package=raster)) On Wed, Oct 6, 2010 at 7:36 AM, Malik Shahzad geoma...@live.com wrote: I want to read Iknos

Re: [R-sig-Geo] Basic Info. requried

2010-10-06 Thread Robert J. Hijmans
Indeed, and as Malik is not using a system file (files packaged with R to serve as examples), you can should leave that bit out and do: r -raster(C:/iknos/edwards_airbase_usa_1m_tc.tif') plot(r) Robert On Wed, Oct 6, 2010 at 4:44 PM, kapo coulibaly kmcou...@gmail.com wrote: I believe there is