Dear all, I have to load more than 1000 matrices from desktop which all of them have the same size. If I do it manually, it would be very hard, can you please guide me how to load them and merge them together ? for example I want to put them one after another X1 X2 X3 etc Many thanks, Mohammad [[alternative HTML version deleted]]
Have you read "An Introduction to R" (ships with R) or any R web tutorials to learn how R works? If not, don't you think you should before posting here? Your question appears to be rather basic. Cheers, Bert On Mon, Oct 21, 2013 at 3:18 AM, Mohammad Goodarzi <mohammad.godarzi at gmail.com> wrote:> Dear all, > > I have to load more than 1000 matrices from desktop which all of them have > the same size. > If I do it manually, it would be very hard, can you please guide me how to > load them and merge them together ? > > for example I want to put them one after another > X1 X2 X3 etc > > Many thanks, > Mohammad > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.-- Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374
?list.files ?read.table ?rbind Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Mon, Oct 21, 2013 at 6:18 AM, Mohammad Goodarzi <mohammad.godarzi at gmail.com> wrote:> Dear all, > > I have to load more than 1000 matrices from desktop which all of them have > the same size. > If I do it manually, it would be very hard, can you please guide me how to > load them and merge them together ? > > for example I want to put them one after another > X1 X2 X3 etc > > Many thanks, > Mohammad > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.
If you have over a thousand files on your desktop, you have bigger problems than just how to load them into R. Where do these files come from, and why do you want to "merge" them into a single entity? -- View this message in context: http://r.789695.n4.nabble.com/merging-matrices-tp4678702p4678721.html Sent from the R help mailing list archive at Nabble.com.