Hi,
I'm not sure if I get your meaning, but if I'm right you have a script
file -- a file with a couple of R commands, that you want to run in BATCH
mode?
Depending on your OS, on Windows, you can open a command line window, cd
into the directory containing your script file. Make sure $R_HOME\bin is in
your PATH. It is usually C:\Program Files\R\rw1061\bin. Then type:
Rcmd BATCH file.R
which will produce a file.Rout containing the results.
On Linux/Unix, simply do
R CMD BATCH file.R
I'm not sure about Mac though.
Cheers,
Kevin
------------------------------------------------
Ko-Kang Kevin Wang
Master of Science (MSc) Student
Department of Statistics
University of Auckland
New Zealand
www.stat.auckland.ac.nz/~kwan022
----- Original Message -----
From: "Yasin Al-Tawarah"
<y.m.al-tawarah at maths.keele.ac.uk>
To: "R-help" <R-help at stat.math.ethz.ch>
Sent: Saturday, December 14, 2002 6:00 AM
Subject: [R] help
> Hi
> I download the R, but I dont know how to get the script (syntax) file
> and run it.
> I would be very pleased for any help.
> Regards.
> Yasin
>
>
> --
>
> Yasin Al-tawarah
>
> Tel: (01782) 583652
> E-mail: mad26 at keele.ac.uk
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
********************************************