[R] Batch Execution of R

John D. Funk, Jr. funkyjd at erols.com
Sat Aug 12 03:24:58 CEST 2000

R Team:

This is most likely a trivial question, but after searching docs for
several weeks and digging through Rweb and RCGI, I could not clearly
identify the method to call an R method from Linux or Win32 systems and
send the output to a file.  I would like to implement R as part of an
online client-server application for a geographically spaced engineering
team an would like to know how to run R like this:

jdf at vertigo$ R -infile="infile.R" -o="outplot.png"

where infile.R is a source script and
outplot.png is a graphic produced by the script.

Following these steps I plan to interface with CGI scripts with canned
plotting routines for the analysis of standard sets of engineering data.


John Funk
301 757-5316

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