[R-sig-Geo] trouble with makegrid

Pascal Oettli kridox at ymail.com
Fri Apr 25 10:09:52 CEST 2014


Hello Erin,

Your example is not reproducible.

Regards,
Pascal

On Fri, Apr 25, 2014 at 12:28 PM, Hodgess, Erin <HodgessE at uhd.edu> wrote:
> Hi everyone!
>
> I have been using makegrid and it worked fine.  Until tonight.  I upgraded to R-3.1.0 on my Ubuntu, and am using plotKML and gstat from R-Forge.
>
> Here is my new snag:
>
>> u2 <- SpatialPoints(makegrid(texb,n=800))
> Warning message:
> In makegrid(texb, n = 800) : NaNs produced
> Error in coordinates(coords) :
>   error in evaluating the argument 'obj' in selecting a method for function 'coordinates': Error in if (any(sel)) min.coords[sel] = min.coords[sel] - cellsize[sel] :
>   missing value where TRUE/FALSE needed
>>
>
> It worked fine this morning.
>
> What went wrong, please?
>
> Thanks,
> Erin
>
>
>
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



-- 
Pascal Oettli
Project Scientist
JAMSTEC
Yokohama, Japan



More information about the R-sig-Geo mailing list