From roebuck at wotan.mdacc.tmc.edu  Wed Oct  5 19:01:00 2005
From: roebuck at wotan.mdacc.tmc.edu (Paul Roebuck)
Date: Wed, 5 Oct 2005 12:01:00 -0500 (CDT)
Subject: [Rd] R and Java
In-Reply-To: <3b67376c0510041753g1ec0f3c7jef9ce735731e5d81@mail.gmail.com>
References: <3b67376c0510041753g1ec0f3c7jef9ce735731e5d81@mail.gmail.com>
Message-ID: <Pine.OSF.4.58.0510051155010.103669@wotan.mdacc.tmc.edu>

On Tue, 4 Oct 2005, Vasundhara Akkineni wrote:

> I am a grad student and am working on a project where i
> need to integrate java and R. I have a front end in java
> and i need to call R functions and be able to dispaly the
> plots and graphs produced by R on my java front end. I
> came across some tools like SJava and rserve...but am not
> sure which best suits my application. Your suggestion
> will be really helpful.

If Un*x-based, you can just run R/S-plus as a coprocess,
manipulating the file descriptors such that you can send
input and receive output from the Java GUI. If you tag
output from R, you can grep your tags and display info
for a progress bar.

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)



[Rd] R and Java
Paul Roebuck