From tobias.verbeke at gmail.com  Sun Sep 14 11:13:37 2008
From: tobias.verbeke at gmail.com (Tobias Verbeke)
Date: Sun, 14 Sep 2008 11:13:37 +0200
Subject: [Rd] Using R from Java
In-Reply-To: <a7479ce00809140151r7ec62d74k91d003f194a32341@mail.gmail.com>
References: <a7479ce00809140151r7ec62d74k91d003f194a32341@mail.gmail.com>
Message-ID: <48CCD5C1.4080605@gmail.com>

Hi Marzio,

> I am interesting in using R from a web application, for basic statistics and
> plots. The server is Java-based (tomcat).
> The simplest solution is a system call that generates the text or the image,
> then the servlet forwards the output. This can be done from any language,
> but it is quite inelegant and slow for the initialization time.
> 
> Is there any package or approach for accessing R from a Java servlet you can
> suggest?

The biocep project might be a good match, see

http://biocep-distrib.r-forge.r-project.org/doc.html

HTH,
Tobias



[Rd] Using R from Java
Tobias Verbeke