Re: [R] gstat error

2011-08-03 Thread Dennis Murphy
To add to David's comments (nice catch, BTW), I found three variogram() functions as a result of ??variogram. The one that gets used is from the package that is highest in the search path (notice that gstat is 55th (!!)) - that would be the one from the spatial package. [The other is in the Spatial

Re: [R] gstat error

2011-08-03 Thread David Winsemius
I see a 'variogram' function in both spatial and gstat when I use ?? variogram on my machine that probably does not have even all of those packages installed. Are you sure they are the same (I looked they are not) or failing that that the one you expect is being chosen? And are you eve

Re: [R] gstat error

2011-08-03 Thread gbrenes
Here is my sessionInfo() > sessionInfo() R version 2.12.2 (2011-02-25) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252 att

Re: [R] gstat error

2011-08-03 Thread Peter Ehlers
On 2011-08-03 09:40, gbre...@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("doub

[R] gstat error

2011-08-03 Thread gbrenes
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 t

Re: [R] Gstat error message.

2011-01-24 Thread Uwe Ligges
On 23.01.2011 21:47, Kamina Chororoka wrote: Hi, I am a student at the University of Twente ( ITC). I am using the R packages for my data analysis, but for the last few weeks now , I have been getting the error message when trying to work on variograms or krigging. Error : .onLoad failed in

[R] Gstat error message.

2011-01-23 Thread Kamina Chororoka
Hi, I am a student at the University of Twente ( ITC). I am using the R packages for my data analysis, but for the last few weeks now , I have been getting the error message when trying to work on variograms or krigging. Error : .onLoad failed in loadNamespace() for 'gstat', details: call: fu