Re: [R] run r scripts (tinn) via command

From: camilo_abboud <camilo.ab.sc_at_gmail.com>
Date: Thu, 28 Apr 2011 14:44:30 -0700 (PDT)

┬┐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.

______________________________________________
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.
Received on Fri 29 Apr 2011 - 01:42:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 29 Apr 2011 - 01:50:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive