[R] BATCH mode
Tomomi TAKASHINA
t.takashina at computer.org
Thu Feb 28 10:25:47 CET 2002
>I don't know what SPlus does, but I run batch programs like
>this:
>
>R --vanilla < myscript.R
>
>I got this from reading
If you are using one of typical shells in Unixes,
you can do like the following.
----
#!/csh -f
#
# Something for preparation
#
R --vanilla << EOF
# Put R Code here, it's convinient that you can use macro
# substitutions here.
EOF
#
# Something for finalize
#
===================================
Tomomi TAKASHINA
http://homepage.mac.com/t_takashina
-----------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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