¿How to run several commands with one script?

Functions needed: SOURCE (script) + logical functions(if, while, for) +
scan(parameter A)

Im not going to put an example, but the thing is:

1) run the main script, which contains another SOURCE-funtion wich points to
an other script.      source(source(2nd script))
2) If you what to be asked to run a secundary script, use function SCAN().

3) If you what to run secundary code IF something...use the If funtion and
so one. if(TRUE){source()}

4) The scan function also helps to stop code at a certain point, not very
elegant but helps.


Hope this helps after 2009.


--
View this message in context: 
http://r.789695.n4.nabble.com/run-r-scripts-tinn-via-command-tp885001p3482327.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[email protected] 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