[R] BATCH mode
Jonathan Baron
baron at cattell.psych.upenn.edu
Wed Feb 27 18:01:53 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
man R
(in Unix/Linux - perhaps there is something like this in Windows).
The file myscript.R can read input and write output using commands
like read.table() or scan() and write.table() or cat(). But
I think I've had trouble getting it to display graphs. Try it,
if that's what you want.
For an example of a batch file, see:
regupdate.R in
http://finzi.psych.upenn.edu/~baron/
Jon
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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