R gnome produces errors?: a clue!
Perhaps you are loading different versions of the MASS library, depending on which interface you are using. .path.package() will tell you. Martyn
On 22-Feb-2002 Agustin Lobo wrote:
I've got something that might be a clue to understand
the strange behaviour of lda in R --gui="gnome":
in R --vanilla:
library(MASS)
load("mod23puriflda.rda")
a <- lda.default(x=mod23puriflda[,2:5],grouping=mod23puriflda[,6],CV=F)
works fine. I save lda.default as a local rda file:
milda.nognome <- lda.default save(milda.nognome,file="milda.nognome.rda")
Then in R --vanilla --gui="gnome"
library(MASS)
load("mod23puriflda.rda")
a
<-lda.default(x=mod23puriflda[,2:5],grouping=mod23puriflda[,6],CV=F,method="mo
ment")
Error in lda.default(x = mod23puriflda[, 2:5], grouping = mod23puriflda[,
:
length of dimnames[2] not equal to array extent
In addition: Warning message:
variables are collinear in: lda.default(x = mod23puriflda[, 2:5], grouping
= mod23puriflda[,
Does not work, BUT:
load("milda.nognome.rda")
a <-
milda.nognome(x=mod23puriflda[,2:5],grouping=mod23puriflda[,6],CV=F,method="mo ment") WORKS!! and, still in R --vanilla --gui="gnome", I save lda.default to another rda file:
milda.gnome <- lda.default save(milda.gnome,file="milda.gnome.rda")
Then back to R --vanilla
load("milda.gnome.rda")
a <- milda.gnome(x=mod23puriflda[,2:5],grouping=mod23puriflda[,6],CV=F)
Error in milda.gnome(x = mod23puriflda[, 2:5], grouping = mod23puriflda[,
:
length of dimnames[2] not equal to array extent
In addition: Warning message:
variables are collinear in: milda.gnome(x = mod23puriflda[, 2:5], grouping
= mod23puriflda[,
Does not work !!
Therefore, gnome is really changing something, but what?
Agus
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._