[R] write.table error
Ross Darnell
r.darnell at shrs.uq.edu.au
Fri Jul 5 02:02:00 CEST 2002
I am getting the following when trying to write a dataframe to a file.
I would appreciate any advice to where the problem lies.
Thanks
Ross Darnell
> write.table(all,file="agree.csv",row.names=F)
Error in "rownames<-"(*tmp*, value = row.names(x)) :
length of dimnames[1] not equal to array extent
> is.data.frame(all)
[1] TRUE
> dim(all)
[1] 854 18
> length(row.names(all))
[1] 854
>
> R.version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 5.0
year 2002
month 04
day 29
language R
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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