[R] geoR vector length error
Paulo Justiniano Ribeiro Jr
paulojus at est.ufpr.br
Fri Oct 24 14:11:06 CEST 2003
You can try to use geoR without using the geodata class.
Just read coords and data in separate objects and use the arguments coord
and data in the variog function.
You may need more memory, anyway
On Fri, 24 Oct 2003, Kenneth Cabrera wrote:
> 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
>
>
>
> --
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>
Paulo Justiniano Ribeiro Jr
Departamento de Estatística
Universidade Federal do Paraná
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR - Brasil
Tel: (+55) 41 361 3471
Fax: (+55) 41 361 3141
e-mail: pj at est.ufpr.br
http://www.est.ufpr.br/~paulojus
More information about the R-help
mailing list