[R] corrupt data.frame
Strumila, John
John.Strumila at team.telstra.com
Tue Feb 6 04:42:42 CET 2001
gday R-friends,
could someone please help with my little corruption problem? I know I can
recreate my dataframe but I would prefer to be able to identify my actual
problem and how to fix it.
I tried a debug on "as.matrix.data.frame" but I cant find the error text.
> xx<-as.matrix(resources)
Error in as.matrix.data.frame(resources) :
dim<- length of dims do not match the length of object
> dim(resources)
[1] 5855 136
> sapply(dimnames(resources),length)
[1] 5855 136
thanks,
John Strumila
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list