[R] non-interactive call to R (running an R package as a stand-alone application)
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Wed May 12 22:29:35 CEST 2004
"Bickel, David" <DAVID.BICKEL at PIONEER.COM> writes:
> Is there a way I can have R automatically execute the commands in a
> source file without ever having to use R interactively? If so, what
> arguments should I pass to the UNIX call to R? I need to do this to
> run several R jobs in parallel.
Yes; help(BATCH) tells you one of them. (Somewhat surprising, this is
not in the FAQ. It is mentioned in the R-intro manual though, and
comes out of R --help).
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list