[R] cgi/servlets/httpd in R

Don MacQueen macq at llnl.gov
Thu May 6 16:01:15 CEST 2004


At 4:04 PM +0200 5/6/04, Christian Lederer wrote:
>Hi,
>
>if found that the easiest way for me doing CGI with R was
>using the RSPerl package. So i could do all the CGI related things
>in Perl and call R functions from Perl to do the statistics.
>You can get RSPerl from http://www.omegahat.org.
>
>If loading the data each time gives a performance problem,
>i guess that you could use RSPerl together with fastcgi,
>so the R initialization and loading the data would happen only
>once. If you try this, i would be very interrested in your experiences.

Regarding initialization, another possibility might be the perl 
module Statistics::R announced by Graciliano M.P. in an email to 
r-help on 2004-02-21. See
    http://search.cpan.org/~gmpassos/Statistics-R-0.01/

>The RSPerl package is somewhat outdated, but it worked well together
>with R 1.6.0 (i didn't try newer versions).
>
>Christian :-)
>
>
>
>David Firth wrote:
>>On Wednesday, May 5, 2004, at 18:09 Europe/London, foobar wrote:
>>
>>>Hi R-helpers
>>>
>>>Has anyone had any experience doing CGI or Servlets or using an 
>>>httpd server in R?
>>>
>>
>>yes.  See the R FAQ, section 4.  (Or maybe you already have, in 
>>which case I misunderstood the question...)
>>
>>Best wishes,
>>David
>>


-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA




More information about the R-help mailing list