[R] geoR vector length error

Kenneth Cabrera krcabrer at unalmed.edu.co
Fri Oct 24 14:01:10 CEST 2003


Dear Dr Thomas

What should I do in this case?
How can I estimate the variogram using the full data set?

Thank you very much for your help.

Kenneth


> On Tue, 25 Mar 2003, Kris Nackaerts wrote:
>
>> Dear,
>>
>> we have a problem with geoR. We try to read an ASCII table (x,y,z) with 
>> 40000
>> lines. With read.geodata we get the error:
>>
>> Error in vector("double", length) : cannot allocate vector of length 
>> 799980000
>>
>> We can read the file without any problem with read.table, but trying to
>> convert it to the geodata class gets the same error.
>
> Looking at the source of as.geodata() it seems that it uses dist() to
> check for coincident points, and this will involve creating a vector of
> length approximately 8x10^8. You can't do that in R.
>
> 	-thomas
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help



--




More information about the R-help mailing list