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

Reply via email to