Hi Jonathan,thanks a lot! Mine is windows operating system so I will try other ways . About your question, do you want to get a matrix like this: 0 1 2 3 .......1817393 5524385
0 687 0 64 0 71 0 55 ....... 579602 1 713515 1 Are you intending to get a matrix like above, eg. only the diagonal position are filled? ______________________________________ View message @ http://r.789695.n4.nabble.com/from-table-to-matrix-tp3087972p3088223.html To unsubscribe from from table to matrix, visit http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3087972&code=ci1oZWxwQHItcHJvamVjdC5vcmd8MzA4Nzk3MnwtNzg0MjM1NTA4 [[alternative HTML version deleted]] ______________________________________________ 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.