[R] non-interactive R usage...

partha_bagchi@hgsi.com partha_bagchi at hgsi.com
Fri Oct 5 16:09:44 CEST 2001


Take a look at Rweb from Jeff Banfield (http://www.math.montana.edu/Rweb/)
or Rcgi which is a CGI WWW interface to R by Mark J Ray. This information
is also mention in the FAQ.



                                                                                                           
                    "Chris Milkosky"                                                                       
                    <c.milkosky at xpedite.        To:     "r-mailing-list" <r-help at stat.math.ethz.ch>        
                    com>                        cc:                                                        
                    Sent by:                    Subject:     [R] non-interactive R usage...                
                    owner-r-help at stat.ma                                                                   
                    th.ethz.ch                                                                             
                                                                                                           
                                                                                                           
                    10/05/2001 09:23 AM                                                                    
                                                                                                           
                                                                                                           




<Newbie alert> Hello all! </Newbie alert>   =)

Hi all,

First of all, I'm new to R and I'm REALLY REALLY impressed by it.  It's an
asset to the open source community.  I can't begin to say
how glad I am to have stumbled across it in freshmeat.net...  Kudos to the
developers - you've done a great job.

OK - my question may be answered by looking through documentation (I did
RTFM), but I haven't noticed anything yet.  I think I must
just be missing something though.

Does R give you the capability to run a script (read as non-interactive)
that would perform a statistical task, and then send output
to a file?  For example: read a set of data from a file, generate a JPEG
_file_ containing a plot of the data (with some specific
stat calcs plotted of course), and then exit?

I do capacity planning and would like to be able to have JPEG plots of real
time statistical data appear on web pages, so I'm
thinking that a CGI can be executed that starts R up, generates a plot, and
writes it to a file.  We currently use gnuplot, but with
all of the statistical needs we have, it is turning out to be less flexible
than we had hoped.

Has this been done before?  Could it be?  If so, can we pass command line
parameters to our R scripts somehow?

Thanks,

Chris


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._._



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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