Dear thanks for help, In first line there is no problem
rasterfile<-system.file("C:/iknos/edwards_airbase_usa_1m_tc.tif",package="raster") This works fine without any error, It mean image has been loaded into variable raster file, but now how i can display raster file in R. I mean I want to see my image that is stored in this variable. When I use plot(rasterfile) it shows error. Before this I work with rImage package to load image(*.jpg) file and then show with the help of plot(image). it works there fine and I can see image but now I am unable to see my output. I hope you got my point. with Best Regards, Malik Shahzad Visiting Researcher National Institute of Informatics (NII) Tokyo, Japan Doctoral Student Asian Institute of Technology (AIT) Bangkok, Thailand +66-8-7676-5616 > Date: Wed, 6 Oct 2010 17:49:35 +0300 > Subject: Re: [R-sig-Geo] Basic Info. requried > From: r.hijm...@gmail.com > To: kmcou...@gmail.com > CC: geoma...@live.com; r-sig-geo@stat.math.ethz.ch > > 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 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 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(...) : need finite 'ylim' values > >> In addition: Warning messages: > >> 1: In min(x) : no non-missing arguments to min; returning Inf > >> 2: In max(x) : no non-missing arguments to max; returning -Inf > >> > >> Need help from where I can learn basic things, I already read raster > >> package manual but unable to see the image. > >> > >> > >> > >> with Best Regards, > >> > >> Malik Shahzad > >> Visiting Researcher > >> National Institute of Informatics (NII) > >> Tokyo, Japan > >> > >> Doctoral Student > >> Asian Institute of Technology (AIT) > >> Bangkok, Thailand > >> +66-8-7676-5616 > >> > >> > >> > >> > >> > >> [[alternative HTML version deleted]] > >> > >> _______________________________________________ > >> R-sig-Geo mailing list > >> R-sig-Geo@stat.math.ethz.ch > >> https://stat.ethz.ch/mailman/listinfo/r-sig-geo > >> > > > > [[alternative HTML version deleted]] > > > > _______________________________________________ > > R-sig-Geo mailing list > > R-sig-Geo@stat.math.ethz.ch > > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > > [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo