[R] gstat error

Peter Ehlers ehlers at ucalgary.ca
Wed Aug 3 19:22:47 CEST 2011


On 2011-08-03 09:40, gbrenes at ssc.wisc.edu wrote:
> Hello.
>
> I am running the examples provided in the gstat help menus.  When I try to
> run the following in predict.gstat:
>
> data(meuse)
> coordinates(meuse)= ~x+y
> v<-variogram(log(zinc)~1, meuse)
>
> I get the following error message:
>
> Error in vector("double", length) : invalid 'length' argument
>
>
> What's the problem?

You should at the very least provide your sessionInfo().

Peter Ehlers

>
>
> Gilbert
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list