Skip to content
Prev 17337 / 398513 Next

R gnome produces errors?: a clue!

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")
works fine. I save lda.default as a local rda file:
Then in R --vanilla --gui="gnome"

library(MASS)
load("mod23puriflda.rda")
<-lda.default(x=mod23puriflda[,2:5],grouping=mod23puriflda[,6],CV=F,method="moment")
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:
milda.nognome(x=mod23puriflda[,2:5],grouping=mod23puriflda[,6],CV=F,method="moment")

WORKS!!

and, still in  R --vanilla --gui="gnome", I save lda.default to another
rda file:
Then back to R --vanilla
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

Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._