Re: [R] any simple examples for SJAVA please

About this list Date view Thread view Subject view Author view Attachment view

From: Duncan Temple Lang (
Date: Sat 29 May 2004 - 00:09:17 EST

Message-id: <>

The SJava package is a very flexible and general bidirectional
interface between R and Java that can allow not only
simple data and complex data structures to be passed between
the languages, but also references to objects
including using R functions as Java methods. Other approaches
to inter-system interfaces are much simpler and direct
but as a result are more limited for general computation.
There is a great deal of infrastructure under SJava that makes
it a general Java interpreter.
And building a variety of different communication mechanisms
to R really ignores the existng literature in the subject.

Unfortunately, there are more opinions about the SJava
package than people who actually understand the issues.
At the moment, what is a real problem is that
there isn't a significant culture for people
to help package authors distribute Windows binaries,
but more that Windows users require software
without any additional effort.
Unfortunately, I do not have the time to keep my Windows machine upgraded for service
packages, virus software, etc. simply to create binaries for
Windows users that I currently do not need.

I would be very happy to work with someone who uses Windows
and wanted to take on providing binaries. I can
both explain and simplify the build process
(dropping the support for S-Plus). But it is prohibitive
to spend all my time supporting the Omegahat packages and R on numerous platforms
while still doing research so that people have fresh ideas in 5 years time.
There is a real danger that statistical computing research will become
bogged down servicing currrent needs of users and extending
concepts that were research topics 20 years ago rather than
working on new concepts that will needed for the future.

So I am hoping that one or more people can volunteer to
help with maintaining the Windows port.
It is definitely not trivial as the SJava package is more complex
in nature (and implemenation) than many others, but it is



Vincent MUTEAUD wrote:
> Hi,
> like you I'm trying to use SJava and I meet with many difficulties.
> I try to run examples from "Calling R from Java" written by Duncan Temple
> Lang available from (there are many examples
> on this web site).
> Now I have an error that my R version is R 1.6.1 while I have version 1.9.0
> on windows NT. This causes a crash when I run my Java code:
> fatal error: enable to open the base package
> I still waiting for a solution
> Best
> A 07:58 28/05/2004 -0500, Laura Holt a écrit :
> >Hi!
> >
> >Are there any simple examples for SJAVA please?
> >
> >Thanks,
> >Laura
> >R Version 1.9.0 Windows
> >
> >_________________________________________________________________
> >Is your PC infected? Get a FREE online computer virus scan from McAfee®
> >Security.
> >
> >______________________________________________
> > mailing list
> >
> >PLEASE do read the posting guide!
> >
> ______________________________________________
> mailing list
> PLEASE do read the posting guide!

Duncan Temple Lang              
 371, Kerr Hall
 University of California at Davis

Phone: (530) 752-4782 FAX: (530) 752-7099

______________________________________________ mailing list PLEASE do read the posting guide!

About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:13 EST