Hi,

I am new to R and need to read in a file with 19 columns and 7000 rows
and make it into a list of 7000 lists with 19 items each.  For a
simpler case of 10 by 10 table I used x <-scan("file",
list(0,0,0,0,0,0,0,0,0,0)), perhaps clumsy, but it did the job.
However with the large 19x7000 (which needs to be transposed) I am not
sure how to go about it.

Coudl somebody suggest a way?

Thanks,

Tomas

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to