[R] merging matrices

PIKAL Petr petr.pikal at precheza.cz
Tue Oct 22 08:51:55 CEST 2013


Hi

?merge

and if you are in reading help pages

?matrix
?data.frame

and of course R-intro.pdf especially chapters about data objects and their differences.

Regards
Petr


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of jim holtman
> Sent: Monday, October 21, 2013 5:21 PM
> To: Mohammad Goodarzi
> Cc: R mailing list
> Subject: Re: [R] merging matrices
> 
> ?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.
> 
> ______________________________________________
> 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.



More information about the R-help mailing list