Skip to content

R & Java

4 messages · Philippe Lamote, Alex D'Amour, Spencer Graves +1 more

#
Hey guys, 

I'm a (Java) integration architect.
We are currently stuck with SAS but I'd be happy to switch that to R! (of
course ;-).
Now, a big argument for the latter, is that we can integrate it seamlessly
with all our existing (java) apps.
Therefore: has anyone heard of a java API (like SAS has it's Java API for
enterprise integration) or a Service we can call (e.g. a web service, a http
invoker service , ...), ... ?

The ideal solution -to my view- would be to integrate it with ESB
functionality (e.g. Mule: http://www.mulesource.org/display/COMMUNITY/Home).
It allows you to stitch/knit/... together what/how/where you want.

Has anyone ever done such a thing?
Thx for advice, 

Regards, 
Philippe

__________________________________________________

Philippe Lamote
Technology Lead @TSSC - Johnson & Johnson Pharmaceutical R&D
<Software Architect && System Design/>
<Tel (32 +14)60-5735 | Loc: Beerse-1 ~ B073-R006/>
#
I think you are looking for something like RServe. http://rosuda.org/Rserve/.

It sets up R as a server which you talk to via TCP/IP. It has client
APIs for Java and a number of other languages.

Alex
On Thu, May 14, 2009 at 10:39 AM, Philippe Lamote <plamote at its.jnj.com> wrote:
#
I don't have an answer, but I suspect that if you 
install.packages("RSiteSearch"), you might find information relevant to 
your question from the following: 


 library(RSiteSearch)
java <- RSiteSearch.function('Java')
summary(java)
# Reports that 136 help pages contained "Java", 23 of which are in a 
package "rJava", 16 in "R.utils", etc. 
HTML(java)
# Opens a table with 136 rows in a browser,
# with the "rJava" pages first, followed by those in "R.utils", etc.,
# the last column of which contains links to the HTML versions of the 
help pages. 


      Hope this helps. 
      Spencer Graves
Philippe Lamote wrote:
#
On 14 May 2009 at 16:39, Philippe Lamote wrote:
| I'm a (Java) integration architect.
| We are currently stuck with SAS but I'd be happy to switch that to R! (of
| course ;-).
| Now, a big argument for the latter, is that we can integrate it seamlessly
| with all our existing (java) apps.
| Therefore: has anyone heard of a java API (like SAS has it's Java API for
| enterprise integration) or a Service we can call (e.g. a web service, a http
| invoker service , ...), ... ?

http://lmgtfy.com/?q=R+Java+rJava

I don't do Java personally but there is a lot out there (and I do support
rJava for Debian and hence indirectly on Ubuntu). See the links above and
also google for BioCep which a lot of people dig.

Dirk