[R] R as a daemon?

MJ Ray mjr at stats.mth.uea.ac.uk
Wed Jan 3 18:17:07 CET 2001


Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:

> expressions.  As of 1.2.0 you can embed Unix R (you have been able to do
> so for ages on Windows) and that might be a neater solution.

How do you mean "embed"?  Sorry for naivity on this, but I've only
done that within Gnome so far.  Just a link would be fine.

> For an cgi version I would be worried about statefulness.
> How are you going to stop one command doing something (overwriting
> system functions, for example) that does not affect later ones
> submitted by other people?   This applies to DCOM servers etc too,
> but there one usually has more idea of what might happen.

As kmself pointed out, the sensible way to do this is by giving each
client their own R.  This makes sense from two performance ways: the
same client is likely to send multiple requests in succession; if they
break their session by doing something "silly", it's their own fault
and affects only them.

> There are more possibilities using Omegahat componentry: look on
> www.omegahat.org.

I'm confused.  Although the front page says you can call Perl from R
_and vice-versa_, only calling Perl from R seems to be documented at
first glance.  The python one looks more useful in that way.

-- 
MJR                                     (Not an official statement)
Please note changes of address		http://stats.mth.uea.ac.uk/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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