See R.utils package and sourceDirectory(), e.g. sourceDirectory("R/");
You can also specify that you only want to reload files that have been modified, e.g. sourceDirectory("R/", modifiedOnly=TRUE); /Henrik On Tue, Nov 23, 2010 at 7:04 AM, Santosh Srinivas <santosh.srini...@gmail.com> wrote: > Hello R-Helpers, > > I have a directory with some ".R" files that I execute every day. > I want to write a script that executes each one of time sequentially. > > Is there a statement for this? > > Thank you. > > ______________________________________________ > 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. > ______________________________________________ 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.