[R] Executing multiple .R files
Henrik Bengtsson
hb at biostat.ucsf.edu
Tue Nov 23 20:35:52 CET 2010
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.srinivas at 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 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