[R-sig-Geo] Problem with variocloudmap (GeoXp)

ONKELINX, Thierry Thierry.ONKELINX at inbo.be
Wed Apr 25 14:54:05 CEST 2007


Dear listeRs,

I have some trouble with this code.

library("gstat")
data(jura)
library("GeoXp")
outlier.pairs <- variocloudmap(prediction.dat$Xloc, prediction.dat$Yloc,
prediction.dat$Ni)

The strange thing is that it runs fine of my laptop with R 2.4.1. But it
does not work on R 2.5.0. Then I get this message. A colleague gets the
same error with R 2.4.0

Error in dim(data) <- dim : attempt to set an attribute on NULL
> traceback()
4: array(x, c(length(x), 1), if (!is.null(names(x))) list(names(x), 
       NULL) else NULL)
3: as.matrix.default(listvar)
2: as.matrix(listvar)
1: variocloudmap(prediction.dat$Xloc, prediction.dat$Yloc,
prediction.dat$Ni)


Any idea's on what's going wrong?

Thanks,

Thierry





sessionInfo()

R version 2.4.1 (2006-12-18) 
i386-pc-mingw32 

locale:
LC_COLLATE=Dutch_Belgium.1252;LC_CTYPE=Dutch_Belgium.1252;LC_MONETARY=Du
tch_Belgium.1252;LC_NUMERIC=C;LC_TIME=Dutch_Belgium.1252

attached base packages:
[1] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "tcltk"

[7] "methods"   "base"     

other attached packages:
     GeoXp KernSmooth    splancs     fields   maptools    foreign
gstat 
     "1.0"  "2.22-19"  "2.01-22"    "3.3.1"   "0.6-11"   "0.8-18"
"0.9-38" 
        sp       svIO     R2HTML     svMisc   svSocket      svIDE 
  "0.9-13"    "0.9-5"     "1.58"    "0.9-5"    "0.9-5"    "0.9-5"



R version 2.5.0 (2007-04-23) 
i386-pc-mingw32 

locale:
LC_COLLATE=Dutch_Belgium.1252;LC_CTYPE=Dutch_Belgium.1252;LC_MONETARY=Du
tch_Belgium.1252;LC_NUMERIC=C;LC_TIME=Dutch_Belgium.1252

attached base packages:
[1] "tcltk"     "stats"     "graphics"  "grDevices" "utils"
"datasets" 
[7] "methods"   "base"     

other attached packages:
     GeoXp KernSmooth    splancs     fields   maptools    foreign
gstat 
     "1.0"  "2.22-20"  "2.01-22"    "3.3.1"   "0.6-11"   "0.8-20"
"0.9-38" 
        sp 
  "0.9-13" 



------------------------------------------------------------------------
----
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Reseach Institute for Nature
and Forest
Cel biometrie, methodologie en kwaliteitszorg / Section biometrics,
methodology and quality assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium
tel. + 32 54/436 185
Thierry.Onkelinx at inbo.be
www.inbo.be 

Do not put your faith in what statistics say until you have carefully
considered what they do not say.  ~William W. Watt
A statistical analysis, properly conducted, is a delicate dissection of
uncertainties, a surgery of suppositions. ~M.J.Moroney




More information about the R-sig-Geo mailing list