[R] run r scripts (tinn) via command
camilo_abboud
camilo.ab.sc at gmail.com
Thu Apr 28 23:44:30 CEST 2011
¿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.
More information about the R-help
mailing list