Hi, I am trying to convert the SPSS data that I imported using the package foreign into a matrix form in R. I tried using write.table() and cbind() but the output still looks bizzarre. I have about 104 columns and 21143 rows. Is the size of the the data causing a problem? Here was my approach mydata<-("file location",max=0) mydata cbind(mydata) #doesnt work well write.table(mydata) #distorted output I also tried data.frame(mydata) #but this gives me only 4 columns (though properly arranged)
Is there a better way to resolve this problem? Thanks [[alternative HTML version deleted]] ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html