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" <kjaj...@yahoo.com>
Sent: Friday, December 18, 2009 3:01 AM
To: <r-help@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@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.

Reply via email to