[R] Help on programming
Bill Simpson
wsi at gcal.ac.uk
Wed Nov 7 16:20:28 CET 2001
On Wed, 7 Nov 2001, Bob Banks wrote:
> 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?
There are different ways to do it.
I usually write the code in a text file using some text editor. Then I do
source("~/papers/file.r"). Then the functions in that file are available
for use.
Bill
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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