Hi everyone,

It turns out that JRI (a Java / R interface) is licensed under LGPL, so it
seems this may be an even better option for the R / Calc interface. However,
when using the library, I ran into a weird problem...

I set all my environment variables in such a way that I can easily compile
and run java programs with the JRI library, and even load the external,
shared (*.so) JRI library without special commands... When I include code
referencing these classes from a UNO add-in, it can connect to every class
except Rengine.

Now, Rengine is where the external JRI library is loaded and extends Thread
(See the code here: www.utsc.utoronto.ca/~04grycwo/Rengine.java)... However,
I can't even get it to return the static constant integers. What ends up
happening is Calc simply aborts the function, as if nothing happens. There's
no error output.

If anyone has any ideas, I'd be grateful for advice.

Thanks,
Wojciech

P.S.

A second wiki article:
http://wiki.services.openoffice.org/wiki/Calc_Macros:_Linear_Regression

--

Five Minutes to Midnight:
Youth on human rights and current affairs
http://www.fiveminutestomidnight.org/

Reply via email to