I am trying to read a file with 8 columns and about 200 rows into a
matrix.  I tried something like:
x<-matrix(data="data.txt", nrow=200, ncol=8) but this produces a
matrix with "data.txt" in it.  Is there a way to read the data in?

Any pointers in the right direction would be appreciated.  Thank you!

______________________________________________
[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

Reply via email to