[R] Problem with SJava sample "JavaRCall"

Heinz Grimm grimm.heinz at rcc.ch
Fri Sep 6 10:41:04 CEST 2002


Heinz Grimm wrote:

Heinz Grimm wrote:

>>Hi,

>>I am trying to run the example "JavaRCall"  with SJava 0.65 and R1.5.1
>>under Windows NT4.0. Although loadLibrary("RInterpreter") worked successfull,
>>the following error occurs:

>>"Exception breakpoint occurred at line 65 of ROmegahatInterpreter.java.
>>Ajava.lang.UnsatisfiedLinkError: boolean
>>org.omegahat.R.Java.ROmegahatInterpreter.initR(java.lang.String[])

>Meanwhile I have learned a lot about JNI and have fixed this one. I have
>added
>'-Wl,--add-stdcall-alias' (see e.g.
http://www.inonit.com/cygwin/jni/helloWorld/c.html)
>to the gcc command that creates the library SJava.DLL

>Unfortuantely I get now a new error (appended). Can anybody help?

Sorry, forget this new error, I put some code in comment braces and forgot it to
remove...

It's not completely working now (Fatal error: unable to open the base package), but
I hope
this is a simple one.

Heinz Grimm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: grimm.heinz.vcf
Type: text/x-vcard
Size: 291 bytes
Desc: Card for Heinz Grimm
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20020906/f7005cf9/grimm.heinz.vcf


More information about the R-help mailing list