David,
Once you're in R, just use source(file="commands.r") to run all
the R commands in a file.
Regards,
Andrew C. Ward
CAPE Centre
Department of Chemical Engineering
The University of Queensland
Brisbane Qld 4072 Australia
andreww at cheque.uq.edu.au
On Tuesday, October 22, 2002 9:46 AM, DAVID JENSEN [SMTP:djense00 at yahoo.com]
wrote:> I am brand new to R and would like to know if there is
> a way to be able to create, save and retrieve a
> program in R like a script object in S-Plus. I am
> just not sure how to do this. I'm sure there are many
> ways to do this ranging from simple to complex, but
> the simplest way would be best for me. Thanks, in advance...
>
> __________________________________________________
>
> Y! Web Hosting - Let the expert host your web site
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._