[R] Help on programming

Mark Myatt mark at myatt.demon.co.uk
Thu Nov 8 14:03:36 CET 2001


Bob Banks <banks_bob at hotmail.com> writes:
>I am a new user of R and would like a bit of advice.
>
>I wish to write a short program in R that I can call up when I want to run 
>it. How do I go about storing and recalling the particular code that I 
>write?
>
>Many thanks
>Bob Banks

Put the function definitions, calls, &c, in a plain text file and use
source() to 'run' the 'program'.

Mark

--
Mark Myatt


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list