See the example in ?source, which does exactly this... or make a package depending on your needs.
> -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of ram basnet > Sent: Wednesday, November 25, 2009 8:35 AM > To: R help > Subject: [R] Importing many files from a single code > > Dear R users, > > Does somebody know the way to import many files by a single command in R ? > I have 50 files in a directory and now, i am importing the files > repeatedly (one by one). If there is a way to import all files at a time, > it makes much more easy and save times too. > Thanks in advance. > > > Sincerely, > Ram Kumar Basent > Wageningen University, > the Netherlands > > > > > [[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.