[R] How to run several scripts?

guohao.huang at gmail.com guohao.huang at gmail.com
Fri Dec 18 08:33:17 CET 2009


Write a new script as the following
source("path/1.R")
source("path/2.R")

R will execute these scripts in sequence.


                                                    Guo-Hao Huang

--------------------------------------------------
From: "kayj" <kjaja27 at yahoo.com>
Sent: Friday, December 18, 2009 3:01 AM
To: <r-help at r-project.org>
Subject: [R]  How to run several scripts?

>
> Hi All,
>
> I am a windows user and I would like to run several R scripts one after 
> the
> other, I was wondering if that is possible to do on windows instead of
> clicking on each script to run it.
>
> Thanks
>
> -- 
> View this message in context: 
> http://n4.nabble.com/How-to-run-several-scripts-tp972862p972862.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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