From mtmorgan at fhcrc.org  Sun Sep 14 15:05:18 2008
From: mtmorgan at fhcrc.org (Martin Morgan)
Date: Sun, 14 Sep 2008 06:05:18 -0700
Subject: [Rd] Using R from Java
In-Reply-To: <a7479ce00809140151r7ec62d74k91d003f194a32341@mail.gmail.com>
	(Marzio Sala's message of "Sun, 14 Sep 2008 10:51:09 +0200")
References: <a7479ce00809140151r7ec62d74k91d003f194a32341@mail.gmail.com>
Message-ID: <6phabea27zl.fsf@lamprey.fhcrc.org>

Hi Marzio --

"Marzio Sala" <marzio.sala at gmail.com> writes:

> Hello,
>
> 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 FAQ has a section on R Web Interfaces

http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-Web-Interfaces

include R/Apache and RServe. There is also Bioconductor's
RWebServices,

http://bioconductor.org/packages/2.2/bioc/html/RWebServices.html

which produces soap-based web services from (strongly-typed) R
packages.

Martin

>
> Thanks in advance for any suggestion.
>
> Regards,
> -Marzio
>
> -- 
> http://marzio.sala.googlepages.com
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M2 B169
Phone: (206) 667-2793



[Rd] Using R from Java
Martin Morgan